diff options
Diffstat (limited to 'include/pdp_types.h')
-rw-r--r-- | include/pdp_types.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/include/pdp_types.h b/include/pdp_types.h index b021dd7..767a937 100644 --- a/include/pdp_types.h +++ b/include/pdp_types.h @@ -24,14 +24,25 @@ #ifndef PDP_TYPES_H #define PDP_TYPES_H +/* check + http://www.unix.org/whitepapers/64bit.html + on unix (LP64) int = 32bit + + it was like this: + + typedef signed long s32; + typedef unsigned long u32; +*/ + + typedef signed char s8; typedef signed short s16; -typedef signed long s32; +typedef signed int s32; typedef signed long long s64; typedef unsigned char u8; typedef unsigned short u16; -typedef unsigned long u32; +typedef unsigned int u32; typedef unsigned long long u64; |