[m-dev.] trivial diff: library/std_util.m: delete unnecessary cast
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Sep 17 16:39:38 AEST 1999
Estimated hours taken: 0.25
library/std_util.m:
Delete an unnecessary cast that was causing a compiler warning
(and which for C compilers other than gcc might cause an error).
Workspace: /home/mercury0/fjh/mercury
Index: library/std_util.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/std_util.m,v
retrieving revision 1.154
diff -u -r1.154 std_util.m
--- std_util.m 1999/08/20 07:57:12 1.154
+++ std_util.m 1999/09/17 06:37:24
@@ -2242,7 +2242,7 @@
data_value = body(data_word, data_tag);
layout_for_tag = type_ctor_layout[data_tag];
- layout_vector_for_tag = (Word *) strip_tag(layout_for_tag);
+ layout_vector_for_tag = strip_tag(layout_for_tag);
switch(type_ctor_info->type_ctor_rep) {
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list