mirror of
https://github.com/amiwm/amiwm.git
synced 2026-04-14 11:04:18 +00:00
[libami] more compile warning fixes
* fix 32/64 bit int size printing stuff * more if braces
This commit is contained in:
@@ -249,7 +249,7 @@ static LONG unpack_rle(unsigned char *src, LONG srclen, char *dst, LONG dstlen,
|
||||
}
|
||||
}
|
||||
if(src != srcn)
|
||||
fprintf(stderr, "Warning: Left %d bytes unused.\n", srcn-src);
|
||||
fprintf(stderr, "Warning: Left %d bytes unused.\n", (int) (srcn-src));
|
||||
return dst-dst0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user