X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=libs%2Fimago%2Fsrc%2Ffile_tga.c;h=a563e3671885798460cef70b20d86e9134c4fa92;hp=302009986ed73bb46f01fa356df20f4708beaefa;hb=62b7a04b073e5a605cf2a455908b5f8607b6f2ae;hpb=63b624908206e1cbe56c2ce51cb170d3f6d91126 diff --git a/libs/imago/src/file_tga.c b/libs/imago/src/file_tga.c index 3020099..a563e36 100644 --- a/libs/imago/src/file_tga.c +++ b/libs/imago/src/file_tga.c @@ -126,7 +126,7 @@ static int iofgetc(struct img_io *io) static int read(struct img_pixmap *img, struct img_io *io) { struct tga_header hdr; - unsigned long x, y; + int x, y; int i, c; uint32_t ppixel = 0; int rle_mode = 0, rle_pix_left = 0;