commit 93c1705f802bab5cfebb98d9f4ebf05d29ebf592
parent dfb75ad3021de5c7e268325804e891bbbc225834
Author: Frederic Cambus <fred@statdns.com>
Date: Sun, 6 Oct 2019 22:46:05 +0200
Use size_t type for loop and pcx_buffer_size.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pcx2gba.c b/pcx2gba.c
@@ -49,9 +49,9 @@ struct pcx_header {
unsigned char pcx_image_palette[PCX_PALETTE_LENGTH];
unsigned char *pcx_buffer;
-int pcx_buffer_size;
+size_t pcx_buffer_size;
-int loop;
+size_t loop;
int current_byte;
int offset;