[svn:parrot] r44474 - branches/rm_cflags/compilers/imcc

chromatic at svn.parrot.org chromatic at svn.parrot.org
Thu Feb 25 20:20:57 UTC 2010


Author: chromatic
Date: Thu Feb 25 20:20:55 2010
New Revision: 44474
URL: https://trac.parrot.org/parrot/changeset/44474

Log:
[IMCC] Removed a spurious cast from _mk_address() to avoid a compiler warning.

Modified:
   branches/rm_cflags/compilers/imcc/symreg.c

Modified: branches/rm_cflags/compilers/imcc/symreg.c
==============================================================================
--- branches/rm_cflags/compilers/imcc/symreg.c	Thu Feb 25 20:15:06 2010	(r44473)
+++ branches/rm_cflags/compilers/imcc/symreg.c	Thu Feb 25 20:20:55 2010	(r44474)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2002-2009, Parrot Foundation.
+ * Copyright (C) 2002-2010, Parrot Foundation.
  * $Id$
  */
 
@@ -1004,7 +1004,7 @@
         const char * const sub_name = (uniq == U_add_uniq_sub)
                        /* remember to free this name; add_ns malloc()s it */
                        ? (aux_name = add_ns(interp, name))
-                       : (char *)name;
+                       : name;
 
         r = _get_sym(hsh, sub_name);
 


More information about the parrot-commits mailing list