[m-rev.] trivial diff: avoid warnings about lvalue casts
Julien Fischer
juliensf at cs.mu.OZ.AU
Thu Mar 2 22:08:59 AEDT 2006
Estimated hours taken: 0.1
Branches: main
runtime/mercury_wrapper.c:
Avoid a warning about deprecated lvalue casts in high level C nogc
grades.
Julien.
Index: mercury_wrapper.c
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_wrapper.c,v
retrieving revision 1.159
diff -u -r1.159 mercury_wrapper.c
--- mercury_wrapper.c 24 Feb 2006 07:11:20 -0000 1.159
+++ mercury_wrapper.c 2 Mar 2006 11:04:02 -0000
@@ -2107,7 +2107,7 @@
#endif
#if !defined(MR_CONSERVATIVE_GC) && !defined(MR_NATIVE_GC)
- MR_hp = saved_hp;
+ MR_hp_word = (MR_Word) saved_hp;
#endif
}
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list