[前][次][番号順一覧][スレッド一覧]

ruby-changes:14813

From: tenderlove <ko1@a...>
Date: Tue, 16 Feb 2010 08:52:19 +0900 (JST)
Subject: [ruby-changes:14813] Ruby:r26675 (trunk): * ext/dl/function.c: using ULONG2NUM to fix tests on i686.

tenderlove	2010-02-16 08:52:08 +0900 (Tue, 16 Feb 2010)

  New Revision: 26675

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26675

  Log:
    * ext/dl/function.c: using ULONG2NUM to fix tests on i686.

  Modified files:
    trunk/ext/dl/function.c

Index: ext/dl/function.c
===================================================================
--- ext/dl/function.c	(revision 26674)
+++ ext/dl/function.c	(revision 26675)
@@ -157,7 +157,7 @@
 	return INT2NUM(retval.sint);
       case DLTYPE_LONG:
 	if (signed_p) return LONG2NUM(retval.slong);
-	return LONG2NUM(retval.ulong);
+	return ULONG2NUM(retval.ulong);
 #if HAVE_LONG_LONG
       case DLTYPE_LONG_LONG:
 	return rb_ll2inum(retval.long_long);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]