summaryrefslogtreecommitdiff
path: root/listing.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-09-12 02:23:54 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-09-12 02:23:54 +0000
commitbfebdb0a071fe4f657e9505331ea8cb210c9d9b9 (patch)
tree106c0ea14c4a0d9c3d02dcbea31195c37e9eb208 /listing.c
parent3ab3f41305fef3bc81f7add649100c986b82487c (diff)
downloadnasm-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/listing.c b/listing.c
index 5efc6db..d72450d 100644
--- a/listing.c
+++ b/listing.c
@@ -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--)
{