Skip to content

Commit

Permalink
Another compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed Sep 16, 2011
1 parent 3c6383a commit b16b5b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/rubymain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b16b5b2

Please sign in to comment.