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:
@@ -18,8 +18,8 @@
|
||||
int yyparse(void);
|
||||
void setuplex(void);
|
||||
|
||||
int cldefines_index;
|
||||
int cldefines_size;
|
||||
int32_t cldefines_index;
|
||||
int32_t cldefines_size;
|
||||
char **cldefines;
|
||||
|
||||
clock_t nStartClock, nEndClock;
|
||||
@@ -140,7 +140,7 @@ opt_Parse(char *s)
|
||||
break;
|
||||
case 'z':
|
||||
if (strlen(&s[1]) <= 2) {
|
||||
int result;
|
||||
int32_t result;
|
||||
|
||||
result = sscanf(&s[1], "%x", &newopt.fillchar);
|
||||
if (!((result == EOF) || (result == 1))) {
|
||||
@@ -217,7 +217,7 @@ opt_AddDefine(char *s)
|
||||
void
|
||||
opt_ParseDefines()
|
||||
{
|
||||
int i;
|
||||
int32_t i;
|
||||
|
||||
for(i = 0; i < cldefines_index; i += 2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user