diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-10-19 22:48:48 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-10-19 22:48:48 +0200 |
commit | 533d274c03fe424dacfb9e119ea5f98799373b73 (patch) | |
tree | 341dac7ba9310ce89e27b14999f26ce15f91289b /include/my_global.h | |
parent | a468337924186ab498692a5dd384879b31969491 (diff) | |
download | mariadb-git-533d274c03fe424dacfb9e119ea5f98799373b73.tar.gz |
intptr should be unsigned
Diffstat (limited to 'include/my_global.h')
-rw-r--r-- | include/my_global.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/my_global.h b/include/my_global.h index e08719fd988..5590570df94 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -972,11 +972,11 @@ typedef unsigned long long my_ulonglong; #endif #if SIZEOF_CHARP == SIZEOF_INT -typedef int intptr; +typedef unsigned int intptr; #elif SIZEOF_CHARP == SIZEOF_LONG -typedef long intptr; +typedef unsigned long intptr; #elif SIZEOF_CHARP == SIZEOF_LONG_LONG -typedef long long intptr; +typedef unsigned long long intptr; #else #error sizeof(void *) is neither sizeof(int) nor sizeof(long) nor sizeof(long long) #endif |