diff options
author | Charles Crayne <chuck@thor.crayne.org> | 2007-11-06 21:48:12 -0800 |
---|---|---|
committer | Charles Crayne <chuck@thor.crayne.org> | 2007-11-06 21:48:12 -0800 |
commit | 8c7eca493600aa2ee39554dfe8712fb30a8cec3f (patch) | |
tree | bd1e9129e666eba8f5087f2af62659407cfe0a59 /listing.c | |
parent | 1f8bc4c9a90ef5c28ba65627f4088920bfb61df4 (diff) | |
download | nasm-8c7eca493600aa2ee39554dfe8712fb30a8cec3f.tar.gz |
Pass 64-bit instruction lengths to back-ends.
Diffstat (limited to 'listing.c')
-rw-r--r-- | listing.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -125,9 +125,9 @@ static void list_out(int32_t offset, char *str) strcat(listdata, str); } -static void list_output(int32_t offset, const void *data, uint32_t type) +static void list_output(int32_t offset, const void *data, uint64_t type) { - uint32_t typ, size; + uint64_t typ, size; if (!listp || suppress || user_nolist) /* fbk - 9/2/00 */ return; @@ -208,7 +208,7 @@ static void list_output(int32_t offset, const void *data, uint32_t type) list_out(offset, q); } else if (typ == OUT_RESERVE) { char q[20]; - snprintf(q, sizeof(q), "<res %08"PRIX32">", size); + snprintf(q, sizeof(q), "<res %08"PRIX64">", size); list_out(offset, q); } } |