diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-07-07 15:48:49 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-07-07 15:48:49 -0400 |
commit | 37594f7b2ac9fb3c17d6a46cc193b19f477cb422 (patch) | |
tree | ab9cccb41e226f8caf91cfba842074fe28291073 | |
parent | 0dd30263c0f87813a0a09c7fbfe8a6e59e9cd22d (diff) | |
download | vecmathlib-37594f7b2ac9fb3c17d6a46cc193b19f477cb422.zip vecmathlib-37594f7b2ac9fb3c17d6a46cc193b19f477cb422.tar.gz |
Use stdint.h's types instead of guessing types' sizes
-rw-r--r-- | floattypes.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/floattypes.h b/floattypes.h index 9c43a31..3b3cf7e 100644 --- a/floattypes.h +++ b/floattypes.h @@ -32,14 +32,14 @@ // Make some type definitions from stdint.h available in std namespace std { - typedef unsigned char uint8_t; - typedef signed char int8_t; - typedef unsigned short uint16_t; - typedef short int16_t; - typedef unsigned int uint32_t; - typedef int int32_t; - typedef unsigned long long uint64_t; - typedef long long int64_t; + typedef ::uint8_t uint8_t; + typedef ::int8_t int8_t; + typedef ::uint16_t uint16_t; + typedef ::int16_t int16_t; + typedef ::uint32_t uint32_t; + typedef ::int32_t int32_t; + typedef ::uint64_t uint64_t; + typedef ::int64_t int64_t; } |