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 /output/outobj.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 'output/outobj.c')
-rw-r--r-- | output/outobj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/output/outobj.c b/output/outobj.c index 65a1107..0f8fa36 100644 --- a/output/outobj.c +++ b/output/outobj.c @@ -988,11 +988,11 @@ fprintf(stderr, " obj_deflabel: %s, seg=%ld, off=%ld, is_global=%d, %s\n", static void obj_write_fixup (ObjRecord *orp, int bytes, int segrel, long seg, long wrt, struct Segment *segto); -static void obj_out (long segto, void *data, unsigned long type, +static void obj_out (long segto, const void *data, unsigned long type, long segment, long wrt) { unsigned long size, realtype; - unsigned char *ucdata; + const unsigned char *ucdata; long ldata; struct Segment *seg; ObjRecord *orp; |