diff options
author | H. Peter Anvin <hpa@zytor.com> | 2002-09-12 02:23:54 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2002-09-12 02:23:54 +0000 |
commit | bfebdb0a071fe4f657e9505331ea8cb210c9d9b9 (patch) | |
tree | 106c0ea14c4a0d9c3d02dcbea31195c37e9eb208 /listing.c | |
parent | 3ab3f41305fef3bc81f7add649100c986b82487c (diff) | |
download | nasm-bfebdb0a071fe4f657e9505331ea8cb210c9d9b9.tar.gz nasm-bfebdb0a071fe4f657e9505331ea8cb210c9d9b9.tar.bz2 nasm-bfebdb0a071fe4f657e9505331ea8cb210c9d9b9.zip |
"const"-ipation fixes from Trevor Woerner
Diffstat (limited to 'listing.c')
-rw-r--r-- | listing.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -120,7 +120,7 @@ static void list_out (long offset, char *str) strcat(listdata, str); } -static void list_output (long offset, void *data, unsigned long type) +static void list_output (long offset, const void *data, unsigned long type) { unsigned long typ, size; @@ -132,7 +132,7 @@ static void list_output (long offset, void *data, unsigned long type) if (typ == OUT_RAWDATA) { - unsigned char *p = data; + unsigned char const *p = data; char q[3]; while (size--) { |