diff --git a/lib/fimg-core.c b/lib/fimg-core.c index 7571a1c..e230bcb 100644 --- a/lib/fimg-core.c +++ b/lib/fimg-core.c @@ -172,7 +172,7 @@ if (foo) { return -3; } -if (flag & 0x01) { +if (flags & 0x01) { /* XXX copy all the pixels's datas */ } diff --git a/lib/t.c b/lib/t.c index 6c41ab0..4ed6fb7 100644 --- a/lib/t.c +++ b/lib/t.c @@ -110,6 +110,7 @@ while ((opt = getopt(argc, argv, "gn:v")) != -1) { if (verbosity) fimg_print_version(0); foo = essai_contraste("src.fimg"); -fprintf(stderr, "retour essai contraste -> %d\n", +fprintf(stderr, "retour essai contraste -> %d\n", foo); + return 0; }