diff options
| author | Antonin Descampe <antonin@gmail.com> | 2009-09-10 12:29:51 +0000 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2009-09-10 12:29:51 +0000 |
| commit | bfd3fe8a4aafb263fedc56345f3e048e52e56326 (patch) | |
| tree | a1a481c28b27a9ba06188d0d2f8f3d2c6c0dc676 /codec/convert.c | |
| parent | 9dbbc6ca1392d32dffd1a75d23b7447e88c4faf2 (diff) | |
fixed minor bugs which were triggering warnings at compilation (different signedness, wrong pointer type, etc)
Diffstat (limited to 'codec/convert.c')
| -rw-r--r-- | codec/convert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codec/convert.c b/codec/convert.c index 3f3384df..465b0e0b 100644 --- a/codec/convert.c +++ b/codec/convert.c @@ -99,7 +99,7 @@ typedef struct tga_header } tga_header; #pragma pack(pop) // Return to normal structure packing alignment. -int tga_readheader(FILE *fp, int *bits_per_pixel, int *width, int *height, int *flip_image) +int tga_readheader(FILE *fp, uint32 *bits_per_pixel, uint32 *width, uint32 *height, int *flip_image) { int palette_size; tga_header tga ; |
