mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 10:42:07 +00:00
Replace C types by stdint.h types
Not all occurrences have been replaced, in some cases they have been left as they were before (like in rgbgfx and when they are in the interface of a C standard library function). Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
@@ -179,7 +179,7 @@ obj_ReadRGBSection(FILE * f)
|
||||
}
|
||||
}
|
||||
|
||||
unsigned int maxsize = 0;
|
||||
uint32_t maxsize = 0;
|
||||
|
||||
/* Verify that the section isn't too big */
|
||||
switch (pSection->Type)
|
||||
@@ -353,7 +353,7 @@ obj_ReadOpenFile(FILE * pObjfile, char *tzObjectfile)
|
||||
strlen(RGBDS_OBJECT_VERSION_STRING)) == 0) {
|
||||
obj_ReadRGB(pObjfile, tzObjectfile);
|
||||
} else {
|
||||
for (int i = 0; i < strlen(RGBDS_OBJECT_VERSION_STRING); i++)
|
||||
for (int32_t i = 0; i < strlen(RGBDS_OBJECT_VERSION_STRING); i++)
|
||||
if (!isprint(tzHeader[i]))
|
||||
tzHeader[i] = '?';
|
||||
errx(1, "%s: Invalid file or object file version [%s]",
|
||||
|
||||
Reference in New Issue
Block a user