UserlandFS: another 64bit fix.

This commit is contained in:
Adrien Destugues 2014-11-20 13:26:56 +01:00
parent afd7ded01e
commit 1581d4ef08

View File

@ -10,7 +10,7 @@
return B_BAD_VALUE; \ return B_BAD_VALUE; \
infos[*count].address = &_address; \ infos[*count].address = &_address; \
infos[*count].flags = _flags; \ infos[*count].flags = _flags; \
infos[(*count)++].max_size = LONG_MAX; // TODO:... infos[(*count)++].max_size = INT32_MAX; // TODO:...
#define ADD_ADDRESS(address) _ADD_ADDRESS(address, 0) #define ADD_ADDRESS(address) _ADD_ADDRESS(address, 0)
#define ADD_STRING(address) _ADD_ADDRESS(address, ADDRESS_IS_STRING) #define ADD_STRING(address) _ADD_ADDRESS(address, ADDRESS_IS_STRING)