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