[svn:parrot] r44468 - trunk/src
mikehh at svn.parrot.org
mikehh at svn.parrot.org
Thu Feb 25 03:53:39 UTC 2010
Author: mikehh
Date: Thu Feb 25 03:53:33 2010
New Revision: 44468
URL: https://trac.parrot.org/parrot/changeset/44468
Log:
can not modify a const
Modified:
trunk/src/utils.c
Modified: trunk/src/utils.c
==============================================================================
--- trunk/src/utils.c Thu Feb 25 01:41:34 2010 (r44467)
+++ trunk/src/utils.c Thu Feb 25 03:53:33 2010 (r44468)
@@ -494,7 +494,7 @@
ASSERT_ARGS(Parrot_range_rand)
const double spread = (double)(to - from + 1);
const double randpart = Parrot_float_rand(how_random);
- const INTVAL raw = (INTVAL)(spread * randpart);
+ INTVAL raw = (INTVAL)(spread * randpart);
/* This shouldn't be necessary since Parrot_float_rand is supposed to
return a value between [0.0, 1.0), but let's just try to avoid the
More information about the parrot-commits
mailing list