the end of life as we know it

int is new type

R=r
OCL=18023
CL=18023
This commit is contained in:
Ken Thompson 2008-10-29 12:46:44 -07:00
parent 0ed4576c6a
commit c21d9a1ec9
16 changed files with 292 additions and 184 deletions

View file

@ -61,7 +61,7 @@ export func setsockopt(fd, level, opt, valueptr, length int64) (ret int64, err i
}
export func setsockopt_int(fd, level, opt int64, value int) int64 {
n := int32(opt);
n := int(opt);
r1, e := setsockopt(fd, level, opt, Int32Ptr(&n), 4);
return e
}