]> Chaos Git - corbenik/ctrulib.git/commitdiff
risk to be platform dependent
authorJean Baptiste Noblot <link00@hotmail.fr>
Thu, 20 Mar 2014 08:27:12 +0000 (09:27 +0100)
committerJean Baptiste Noblot <link00@hotmail.fr>
Thu, 20 Mar 2014 08:27:12 +0000 (09:27 +0100)
I know. it's a feature

libctru/include/ctr/types.h

index 70f268881bf1c03137288cc2f5fc1adc934a6632..d61eea8b2639d94b037ef4c4b9eb93abcc94fdb1 100644 (file)
@@ -6,15 +6,15 @@
 
        #define U64_MAX (0xFFFFFFFFFFFFFFFF)
 
-       typedef unsigned char u8;
-       typedef unsigned short u16;
-       typedef unsigned int u32;
-       typedef unsigned long long u64;
-
-       typedef signed char s8;
-       typedef signed short s16;
-       typedef signed int s32;
-       typedef signed long long s64;
+       typedef uint8_t u8;
+       typedef uint16_t u16;
+       typedef uint32_t u32;
+       typedef uint64_t u64;
+
+       typedef int8_t s8;
+       typedef int16_t s16;
+       typedef int32_t s32;
+       typedef int64_t s64;
 
        typedef volatile u8 vu8;
        typedef volatile u16 vu16;