aboutsummaryrefslogtreecommitdiffstats
path: root/ext/socket/constants.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-28 08:14:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-28 08:14:13 +0000
commit4822d20cc55d54d0c3cb190fdcb343976db64901 (patch)
tree5c6d684e1615f4c0559fff9480ed25f2c3e5c887 /ext/socket/constants.c
parent790d6071c6d0d2c677b01779fecb891d64095ded (diff)
downloadruby-4822d20cc55d54d0c3cb190fdcb343976db64901.tar.gz
* ext/socket: fixed types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/constants.c')
-rw-r--r--ext/socket/constants.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/constants.c b/ext/socket/constants.c
index c765d75ee6..39f985b316 100644
--- a/ext/socket/constants.c
+++ b/ext/socket/constants.c
@@ -15,7 +15,7 @@ static VALUE rb_mSockConst;
#include "constdefs.c"
static int
-constant_arg(VALUE arg, int (*str_to_int)(const char*, int, int*), const char *errmsg)
+constant_arg(VALUE arg, int (*str_to_int)(const char*, long, int*), const char *errmsg)
{
VALUE tmp;
char *ptr;