Consistently use size_t for optlen in getsockopt.

This commit is contained in:
mainzelm 2003-01-08 10:17:06 +00:00
parent 10cebaf941
commit 658e5bca96
1 changed files with 2 additions and 2 deletions

View File

@ -402,7 +402,7 @@ s48_value scheme_getsockopt (s48_value s,
s48_value optname)
{
int optval;
int optlen=sizeof(optval);
size_t optlen=sizeof(optval);
if (getsockopt(s48_extract_fixnum (s),
s48_extract_fixnum (level),
@ -419,7 +419,7 @@ s48_value scheme_getsockopt_linger (s48_value s,
s48_value optname)
{
struct linger optval;
int optlen=sizeof(optval);
size_t optlen=sizeof(optval);
if (getsockopt(s48_extract_fixnum (s),
s48_extract_fixnum (level),