ARM: use uint32_t for opcodes

fixes cross compiling on x86_64
This commit is contained in:
Daniel Glöckner
2010-05-13 22:17:09 +02:00
parent 6eac6b7254
commit 3de023b6c6
2 changed files with 44 additions and 43 deletions

2
tcc.h
View File

@ -1161,7 +1161,7 @@ ST_FUNC void gen_addr64(int r, Sym *sym, int64_t c);
/* ------------ arm-gen.c ------------ */
#ifdef TCC_TARGET_ARM
ST_FUNC unsigned long encbranch(int pos,int addr,int fail);
ST_FUNC uint32_t encbranch(int pos, int addr, int fail);
ST_FUNC void gen_cvt_itof1(int t);
#endif