mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-24 12:02:08 +00:00
Replace ULONG by uint32_t
All affected `printf` have been fixed. Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
@@ -22,11 +22,14 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include "extern/err.h"
|
||||
|
||||
#include "link/mylink.h"
|
||||
#include "link/script.h"
|
||||
|
||||
#include "parser.h"
|
||||
|
||||
#include "types.h"
|
||||
|
||||
extern int yyparse();
|
||||
|
||||
/* File include stack. */
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "extern/err.h"
|
||||
#include "types.h"
|
||||
#include "link/mylink.h"
|
||||
#include "link/main.h"
|
||||
|
||||
|
||||
@@ -384,7 +384,7 @@ obj_Readfile(char *tzObjectfile)
|
||||
int32_t
|
||||
file_Length(FILE * f)
|
||||
{
|
||||
ULONG r, p;
|
||||
uint32_t r, p;
|
||||
|
||||
p = ftell(f);
|
||||
fseek(f, 0, SEEK_END);
|
||||
|
||||
@@ -4,8 +4,10 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "extern/err.h"
|
||||
|
||||
#include "link/main.h"
|
||||
#include "link/patch.h"
|
||||
|
||||
#include "types.h"
|
||||
|
||||
#define HASHSIZE 73
|
||||
@@ -16,7 +18,7 @@ struct ISymbol {
|
||||
int32_t nBank; /* -1 = constant */
|
||||
char tzObjFileName[_MAX_PATH + 1]; /* Object file where the symbol was defined. */
|
||||
char tzFileName[_MAX_PATH + 1]; /* Source file where the symbol was defined. */
|
||||
ULONG nFileLine; /* Line where the symbol was defined. */
|
||||
uint32_t nFileLine; /* Line where the symbol was defined. */
|
||||
struct ISymbol *pNext;
|
||||
};
|
||||
|
||||
@@ -80,7 +82,7 @@ sym_GetBank(char *tzName)
|
||||
|
||||
void
|
||||
sym_CreateSymbol(char *tzName, int32_t nValue, int32_t nBank, char *tzObjFileName,
|
||||
char *tzFileName, ULONG nFileLine)
|
||||
char *tzFileName, uint32_t nFileLine)
|
||||
{
|
||||
if (strcmp(tzName, "@") == 0)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user