Skip to content

Commit

Permalink
win32: add cast to avoid warning about LONGLONG to size_t
Browse files Browse the repository at this point in the history
  • Loading branch information
nacho committed Nov 25, 2015
1 parent 43e11b3 commit d653ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/liblmdb/mdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -4104,7 +4104,7 @@ mdb_fsize(HANDLE fd, size_t *size)
if (!GetFileSizeEx(fd, &fsize))
return ErrCode();

*size = fsize.QuadPart;
*size = (size_t)fsize.QuadPart;
#else
struct stat st;

Expand Down

0 comments on commit d653ac2

Please sign in to comment.