diff --git a/lib/fimg-core.c b/lib/fimg-core.c index 7571a1c4..e230bcbe 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 6c41ab0b..4ed6fb71 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; }