X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=images%2Fucw-image-dup-test.c;h=f38d1b25955341d2a1bdc3a9a46d6286a9a434a6;hb=1481eca416a467e9952dbc5e4852afe66eaf1256;hp=d5a9794f41795f53f0de266db5bc4f6b19da79f5;hpb=0192d9f3a127c82b32131d26ed9b5fb5a90db723;p=libucw.git diff --git a/images/ucw-image-dup-test.c b/images/ucw-image-dup-test.c index d5a9794f..f38d1b25 100644 --- a/images/ucw-image-dup-test.c +++ b/images/ucw-image-dup-test.c @@ -47,13 +47,13 @@ static struct option longopts[] = { NULL, 0, 0, 0 } }; -static uns verbose = 1; +static uint verbose = 1; static byte *file_name_1; static byte *file_name_2; static enum image_format format_1; static enum image_format format_2; static struct color background_color; -static uns transformations = IMAGE_DUP_TRANS_ALL; +static uint transformations = IMAGE_DUP_TRANS_ALL; #define MSG(x...) do{ if (verbose) msg(L_INFO, ##x); }while(0) @@ -152,7 +152,7 @@ main(int argc, char **argv) struct mempool *pool = mp_new(1 << 18); MSG("Creating internal structures"); dup1 = mp_start(pool, image_dup_estimate_size(img1->cols, img1->rows, 1, idc.qtree_limit)); - uns size = image_dup_new(&idc, img1, dup1, 1); + uint size = image_dup_new(&idc, img1, dup1, 1); TRY(size); mp_end(pool, (void *)dup1 + size); dup2 = mp_start(pool, image_dup_estimate_size(img2->cols, img2->rows, 1, idc.qtree_limit));