1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/fiddle/closure.c (callback): same as r34506.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-02-15 10:52:31 +00:00
parent df5867a2a7
commit fa65df0d08
3 changed files with 30 additions and 1 deletions

View file

@ -125,7 +125,7 @@ callback(ffi_cif *cif, void *resp, void **args, void *ctx)
break;
#if HAVE_LONG_LONG
case TYPE_LONG_LONG:
*(unsigned LONG_LONG *)resp = rb_big2ull(ret);
*(unsigned LONG_LONG *)resp = NUM2ULL(ret);
break;
#endif
default: