Commit c8d59c1f authored by Rob Pike's avatar Rob Pike

fix int64/int error - build broken

R=gri
OCL=24678
CL=24678
parent a81870ba
......@@ -26,7 +26,7 @@ func Readdirnames(fd *FD, count int) (names []string, err *os.Error) {
if count == 0 {
break
}
ret, err2 := syscall.Getdirentries(fd.fd, &buf[0], len(buf), &base);
ret, err2 := syscall.Getdirentries(fd.fd, &buf[0], int64(len(buf)), &base);
if ret < 0 || err2 != 0 {
return names, os.ErrnoToError(err2)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment