Permalink
Browse files

From -one(Coff_t) to -1

  • Loading branch information...
1 parent f67cea9 commit 2f6b9c09933aae91bf82a4c8df40aff65e33a14f @lucasb-eyer lucasb-eyer committed Jan 4, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 base/fs.jl
View
@@ -233,7 +233,7 @@ const SEEK_END = int32(2)
function position(f::File)
ret = ccall(:jl_lseek, Coff_t,(Int32,Coff_t,Int32),f.handle,0,SEEK_CUR)
- systemerror("lseek", ret == -one(Coff_t))
+ systemerror("lseek", ret == -1)
ret
end

0 comments on commit 2f6b9c0

Please sign in to comment.