From: Pavel Charvat Date: Sat, 16 Sep 2006 08:46:24 +0000 (+0200) Subject: int vs uns bugfix X-Git-Tag: holmes-import~548 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=ad86d035d68c950a6ff37826ba347f334f4d177e;p=libucw.git int vs uns bugfix --- diff --git a/images/sig-init.c b/images/sig-init.c index c04c4691..e1ff554d 100644 --- a/images/sig-init.c +++ b/images/sig-init.c @@ -193,7 +193,7 @@ image_sig_finish(struct image_sig_data *data, struct image_signature *sig) /* For each region */ u64 w_total = 0; uns w_border = MIN(data->cols, data->rows) * image_sig_border_size; - int w_mul = w_border ? image_sig_border_bonus * 256 / w_border : 0; + int w_mul = w_border ? image_sig_border_bonus * 256 / (int)w_border : 0; for (uns i = 0; i < sig->len; i++) { struct image_sig_region *r = data->regions + i;