diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2005-09-22 14:21:50 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2005-09-22 14:21:50 +0000 |
commit | 3de54dec267abf845ca32bd1f6026834cc04d853 (patch) | |
tree | daa34de1fd38e86c2dd0c67896c3c5748511fe1c /otherlibs/win32unix/lockf.c | |
parent | 11524e2578b62fa30620121873aa372b180c0a74 (diff) |
Remplacement long/unsigned long par intnat/uintnat
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7064 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix/lockf.c')
-rw-r--r-- | otherlibs/win32unix/lockf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/win32unix/lockf.c b/otherlibs/win32unix/lockf.c index 918305281..3aa902d42 100644 --- a/otherlibs/win32unix/lockf.c +++ b/otherlibs/win32unix/lockf.c @@ -62,7 +62,7 @@ static void set_file_pointer(HANDLE h, LARGE_INTEGER dest, LONG high = dest.HighPart; DWORD ret = SetFilePointer(h, dest.LowPart, &high, method); if (ret == INVALID_SET_FILE_POINTER) { - long err = GetLastError(); + DWORD err = GetLastError(); if (err != NO_ERROR) { win32_maperr(err); uerror("lockf", Nothing); } } if (cur != NULL) { cur->LowPart = ret; cur->HighPart = high; } |