mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-27 12:50:04 +00:00
msvc warnings
This commit is contained in:
parent
1700285fd2
commit
55de506812
@ -16,6 +16,11 @@
|
||||
#include <sys/xattr.h>
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define strcasecmp stricmp
|
||||
#define strncasecmp strnicmp
|
||||
#endif
|
||||
|
||||
#define DEF_DISK_SIZE (800*1024)
|
||||
#define MAX_FILE_NAMES 51
|
||||
|
||||
|
@ -1213,11 +1213,11 @@ static word16 win_seek(HANDLE h, word16 base, word32 displacement, LARGE_INTEGER
|
||||
break;
|
||||
case markMinus:
|
||||
m = FILE_CURRENT;
|
||||
d.QuadPart = -displacement;
|
||||
d.QuadPart = -(LONGLONG)displacement;
|
||||
break;
|
||||
case eofMinus:
|
||||
m = FILE_END;
|
||||
d.QuadPart = -displacement;
|
||||
d.QuadPart = -(LONGLONG)displacement;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user