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:
Antonio Niño Díaz
2017-12-31 14:16:36 +01:00
parent 87c9d819a1
commit ba944527ec
24 changed files with 231 additions and 244 deletions

View File

@@ -6,12 +6,11 @@
#include <stdio.h>
#include <string.h>
#include "asm/mylink.h"
#include "types.h"
#include "asm/symbol.h"
#include "asm/asm.h"
#include "asm/main.h"
#include "asm/mylink.h"
#include "asm/rpn.h"
#include "asm/symbol.h"
void
mergetwoexpressions(struct Expression * expr, struct Expression * src1,
@@ -59,7 +58,7 @@ rpn_PopByte(struct Expression * expr)
/*
* Determine if the current expression is relocatable
*/
ULONG
uint32_t
rpn_isReloc(struct Expression * expr)
{
return (expr->isReloc);
@@ -68,7 +67,7 @@ rpn_isReloc(struct Expression * expr)
/*
* Determine if the current expression can be pc-relative
*/
ULONG
uint32_t
rpn_isPCRelative(struct Expression * expr)
{
return (expr->isPCRel);
@@ -78,7 +77,7 @@ rpn_isPCRelative(struct Expression * expr)
* Add symbols, constants and operators to expression
*/
void
rpn_Number(struct Expression * expr, ULONG i)
rpn_Number(struct Expression * expr, uint32_t i)
{
rpn_Reset(expr);
pushbyte(expr, RPN_CONST);