mirror of
https://github.com/winfsp/winfsp.git
synced 2026-10-30 23:12:35 -05:00
fuse: better handling of long (Cygwin64 vs Win64)
This commit is contained in:
1 parent
300ce8485b
commit
765bb1e1a3
3 files changed
+23
-4
No files matched your search
@@ -303,7 +303,11 @@ void fuse_opt_parse_test(void)
|
||||
ASSERT(0 == strcmp("WwWw", data.w));
|
||||
ASSERT(1 == data.x);
|
||||
ASSERT((long)040000000001 == data.y);
|
||||
ASSERT(((long long)0x100000001 & 0xffffffff)== data.z);
|
||||
#if defined(_WIN64)
|
||||
ASSERT((long long)0x100000001 == data.z);
|
||||
#else
|
||||
ASSERT(((long long)0x100000001 & 0xffffffff) == data.z);
|
||||
#endif
|
||||
ASSERT(+1234567890 == data.dec);
|
||||
ASSERT(-1234567890 == data.neg);
|
||||
ASSERT(0xABCDEF == data.hex);
|
||||
|
||||
Reference in new issue
Block a user