ref: 0ac71592ef928ab7a301d5d1e4777a75c4f1580f
parent: 45f3240f3c65cef689f691bfac7be182aed9e2c2
author: Ori Bernstein <[email protected]>
date: Tue Aug 19 06:10:41 EDT 2014
Harmonize types. Now they all sing at the same pitch. Oh, and the compiler accepts them without type mismatches.
--- a/libstd/dir-osx.myr
+++ b/libstd/dir-osx.myr
@@ -12,7 +12,7 @@
fd : fd
buf : byte[16384]
len : int64
- off : uint64
+ off : int64
base : int64
;;
@@ -37,7 +37,6 @@
const dirread = {d
var len
var dent
- var namelen
if d.off >= d.len
len = getdirentries64(d.fd, d.buf[:], &d.base)