[m-rev.] diff: avoid c compiler warnings in stdlib
Julien Fischer
juliensf at csse.unimelb.edu.au
Tue Jul 13 00:31:02 AEST 2010
Branches: main, 10.04
Avoid a warning from the C compiler.
library/rtti_implementation.m:
Add a missing cast.
Julien.
Index: rtti_implementation.m
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/library/rtti_implementation.m,v
retrieving revision 1.104
diff -u -r1.104 rtti_implementation.m
--- rtti_implementation.m 2 Jul 2010 02:35:06 -0000 1.104
+++ rtti_implementation.m 12 Jul 2010 14:26:36 -0000
@@ -2660,7 +2660,7 @@
null_functor_desc = (NullFunctorDesc::out),
[will_not_call_mercury, promise_pure, thread_safe],
"
- NullFunctorDesc = NULL;
+ NullFunctorDesc = (MR_Word) NULL;
").
% Test whether a (pseudo-) type info is variable.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list