diff --git a/funcs/misc-plots.c b/funcs/misc-plots.c index ec22d4e..187b26b 100644 --- a/funcs/misc-plots.c +++ b/funcs/misc-plots.c @@ -46,6 +46,8 @@ for (x=0; xwidth; x++) { fimg_plot_rgb(fimg, x, y, fr, fg, fb); } + + return 0; } /* --------------------------------------------------------------------- */ diff --git a/funcs/t.c b/funcs/t.c index aff4abb..31e010a 100644 --- a/funcs/t.c +++ b/funcs/t.c @@ -49,9 +49,10 @@ else { fprintf(stderr, "%s is creating the picz\n", __func__); fimg_create(&src, 640, 480, FIMG_TYPE_RGB); fimg_test_pattern(&src, 0, 255.0); - fimg_save_as_png(&src, "test.png", 0); } +fimg_save_as_png(&src, "test.png", 0); + foo = fimg_clone(&src, &dst, 0); fimg_filter_3x3(&src, &dst, &filter_a);