[macruby-changes] [4012] MacRuby/trunk/random.c
source_changes at macosforge.org
source_changes at macosforge.org
Mon May 3 16:31:46 PDT 2010
Revision: 4012
http://trac.macosforge.org/projects/ruby/changeset/4012
Author: lsansonetti at apple.com
Date: 2010-05-03 16:31:41 -0700 (Mon, 03 May 2010)
Log Message:
-----------
fix clang build (patch by Jordan Hubbard)
Modified Paths:
--------------
MacRuby/trunk/random.c
Modified: MacRuby/trunk/random.c
===================================================================
--- MacRuby/trunk/random.c 2010-05-03 21:37:19 UTC (rev 4011)
+++ MacRuby/trunk/random.c 2010-05-03 23:31:41 UTC (rev 4012)
@@ -735,7 +735,7 @@
}
else {
v = Qnil;
- NUM2LONG(vmax);
+ (void)NUM2LONG(vmax);
}
if (NIL_P(v)) {
VALUE mesg = rb_str_new2("invalid argument - ");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100503/5658e172/attachment.html>
More information about the macruby-changes
mailing list