[svn:parrot] r39032 - trunk/src

petdance at svn.parrot.org petdance at svn.parrot.org
Fri May 22 06:16:47 UTC 2009


Author: petdance
Date: Fri May 22 06:16:47 2009
New Revision: 39032
URL: https://trac.parrot.org/parrot/changeset/39032

Log:
explicilty cast an int->FLOATVAL

Modified:
   trunk/src/key.c

Modified: trunk/src/key.c
==============================================================================
--- trunk/src/key.c	Fri May 22 06:16:21 2009	(r39031)
+++ trunk/src/key.c	Fri May 22 06:16:47 2009	(r39032)
@@ -667,7 +667,7 @@
             case KEY_number_FLAG:
                 GETATTR_Key_int_key(interp, key, int_key);
                 value = Parrot_str_append(interp, value,
-                    Parrot_str_from_num(interp, int_key));
+                    Parrot_str_from_num(interp, (FLOATVAL)int_key));
                 break;
             case KEY_string_FLAG:
                 GETATTR_Key_str_key(interp, key, str_key);


More information about the parrot-commits mailing list