diff options
| author | seyko <seyko2@gmail.com> | 2015-03-26 11:28:11 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-03-26 11:28:11 +0300 |
| commit | 3b7f5008fdacf3c4b9e7329b64ab75741dcf5370 (patch) | |
| tree | 55998ed6790eaf8db8a3e433984d110512968855 | |
| parent | acef4ff244bb3b7af596d657e2f549e33c1daf43 (diff) | |
| download | tinycc-3b7f5008fdacf3c4b9e7329b64ab75741dcf5370.tar.gz tinycc-3b7f5008fdacf3c4b9e7329b64ab75741dcf5370.tar.bz2 | |
fix for the previous commit (compilation on RPi)
| -rw-r--r-- | libtcc.c | 2 | ||||
| -rw-r--r-- | tcc.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -388,7 +388,7 @@ ST_FUNC void section_realloc(Section *sec, unsigned long new_size) /* reserve at least 'size' bytes in section 'sec' from sec->data_offset. */ -ST_FUNC void *section_ptr_add(Section *sec, size_t size) +ST_FUNC void *section_ptr_add(Section *sec, addr_t size) { size_t offset, offset1; @@ -1088,7 +1088,7 @@ ST_FUNC void cstr_reset(CString *cstr); ST_FUNC Section *new_section(TCCState *s1, const char *name, int sh_type, int sh_flags); ST_FUNC void section_realloc(Section *sec, unsigned long new_size); -ST_FUNC void *section_ptr_add(Section *sec, unsigned long size); +ST_FUNC void *section_ptr_add(Section *sec, addr_t size); ST_FUNC void section_reserve(Section *sec, unsigned long size); ST_FUNC Section *find_section(TCCState *s1, const char *name); |
