lib/pure/e-o - Dropped 'T' from types
This commit is contained in:
parent
192ba3bbc0
commit
6914244f30
13 changed files with 202 additions and 185 deletions
|
|
@ -196,7 +196,7 @@ proc open*(filename: string, mode: FileMode = fmRead,
|
|||
if mappedSize != -1:
|
||||
result.size = mappedSize
|
||||
else:
|
||||
var stat: TStat
|
||||
var stat: Stat
|
||||
if fstat(result.handle, stat) != -1:
|
||||
# XXX: Hmm, this could be unsafe
|
||||
# Why is mmap taking int anyway?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue