mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-24 20:12:07 +00:00
Fix some signed/unsigned comparison warnings
Signed-off-by: AntonioND <antonio_nd@outlook.com>
This commit is contained in:
@@ -15,7 +15,7 @@ symboldefined(char *name)
|
||||
pSect = pSections;
|
||||
|
||||
while (pSect) {
|
||||
ULONG i;
|
||||
int i;
|
||||
|
||||
for (i = 0; i < pSect->nNumberOfSymbols; i += 1) {
|
||||
if ((pSect->tSymbols[i]->Type == SYM_EXPORT)
|
||||
@@ -39,7 +39,7 @@ addmodulecontaining(char *name)
|
||||
ppLSect = &pLibSections;
|
||||
|
||||
while (*ppLSect) {
|
||||
ULONG i;
|
||||
int i;
|
||||
|
||||
for (i = 0; i < (*ppLSect)->nNumberOfSymbols; i += 1) {
|
||||
if (((*ppLSect)->tSymbols[i]->Type == SYM_EXPORT)
|
||||
@@ -101,7 +101,7 @@ AddNeededModules(void)
|
||||
pSect = pSections;
|
||||
|
||||
while (pSect) {
|
||||
ULONG i;
|
||||
int i;
|
||||
|
||||
for (i = 0; i < pSect->nNumberOfSymbols; i += 1) {
|
||||
if ((pSect->tSymbols[i]->Type == SYM_IMPORT)
|
||||
|
||||
@@ -60,7 +60,7 @@ readword(FILE * f)
|
||||
SLONG
|
||||
readasciiz(char **dest, FILE *f)
|
||||
{
|
||||
SLONG r = 0;
|
||||
size_t r = 0;
|
||||
|
||||
size_t bufferLength = 16;
|
||||
char *start = malloc(bufferLength);
|
||||
|
||||
Reference in New Issue
Block a user