aboutsummaryrefslogtreecommitdiffstats
path: root/ext/socket/constants.c
diff options
context:
space:
mode:
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 273b8d6612..3242cddd71 100644
--- a/ext/socket/constants.c
+++ b/ext/socket/constants.c
@@ -19,7 +19,7 @@ static void sock_define_uconst(const char *name, unsigned int value, VALUE mCons
#undef sock_define_uconst
static int
-constant_arg(VALUE arg, int (*str_to_int)(char*, int, int*), const char *errmsg)
+constant_arg(VALUE arg, int (*str_to_int)(const char*, int, int*), const char *errmsg)
{
VALUE tmp;
char *ptr;