Fix range-dependent dead code in recursion depth check

This commit is contained in:
ISSOtm
2020-08-23 03:02:17 +02:00
parent b224cab3e0
commit 96cb5e10ed
2 changed files with 7 additions and 15 deletions

View File

@@ -39,7 +39,7 @@ struct sContext {
int32_t nREPTBodyLastLine;
};
extern unsigned int nMaxRecursionDepth;
extern size_t nMaxRecursionDepth;
void fstk_AddIncludePath(char const *s);
/**
@@ -61,6 +61,6 @@ char *fstk_DumpToStr(void);
char const *fstk_GetFileName(void);
uint32_t fstk_GetLine(void);
void fstk_Init(char *mainPath, uint32_t maxRecursionDepth);
void fstk_Init(char *mainPath, size_t maxRecursionDepth);
#endif /* RGBDS_ASM_FSTACK_H */