diff: quick warning fix.

Tyson Dowd trd at cs.mu.OZ.AU
Mon Sep 21 23:13:19 AEST 1998


Hi,

Quick warning fix.

===================================================================


Estimated hours taken: 0.1

runtime/mercury_agc_debug.c:
	Fix an "assignment discards `const' from pointer target type"
	warning.


Index: runtime/mercury_agc_debug.c
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_agc_debug.c,v
retrieving revision 1.2
diff -u -r1.2 mercury_agc_debug.c
--- mercury_agc_debug.c	1998/08/10 06:40:12	1.2
+++ mercury_agc_debug.c	1998/09/21 13:04:03
@@ -66,7 +66,7 @@
 	Word *type_params, type_info, value;
 	MR_Stack_Layout_Entry *entry_layout;
 	const MR_Stack_Layout_Label *layout;
-	Code *success_ip;
+	const Code *success_ip;
 	bool top_frame = TRUE;
 
 	layout = label->i_layout;


-- 
       Tyson Dowd           # There isn't any reason why Linux can't be
                            # implemented as an enterprise computing solution.
     trd at cs.mu.oz.au        # Find out what you've been missing while you've
http://www.cs.mu.oz.au/~trd # been rebooting Windows NT. -- InfoWorld, 1998.



More information about the developers mailing list