Skip to content
Browse files

Another compile warning

  • Loading branch information...
1 parent 3c6383a commit b16b5b230dedfc22c0b8299dfa8117a88c08c976 @tmm1 tmm1 committed Sep 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/rubymain.cpp
View
2 ext/rubymain.cpp
@@ -615,7 +615,7 @@ static VALUE t_set_sock_opt (VALUE self, VALUE signature, VALUE lev, VALUE optna
}
- if (setsockopt(fd, level, option, v, len) < 0)
+ if (setsockopt(fd, level, option, (char *)v, len) < 0)
rb_sys_fail("setsockopt");
return INT2FIX(0);

0 comments on commit b16b5b2

Please sign in to comment.
Something went wrong with that request. Please try again.