core, fix type issues by using stdint types
authorkub <derkub@gmail.com>
Fri, 10 Jul 2020 07:09:52 +0000 (09:09 +0200)
committerkub <derkub@gmail.com>
Fri, 10 Jul 2020 07:09:52 +0000 (09:09 +0200)
pico/pico_int.h

index 088c7aa..09cefdf 100644 (file)
@@ -33,12 +33,12 @@ extern "C" {
 #endif\r
 \r
 \r
-typedef unsigned char  u8;\r
-typedef signed char    s8;\r
-typedef unsigned short u16;\r
-typedef signed short   s16;\r
-typedef unsigned int   u32;\r
-typedef signed int     s32;\r
+typedef uint8_t        u8;\r
+typedef int8_t         s8;\r
+typedef uint16_t       u16;\r
+typedef int16_t        s16;\r
+typedef uint32_t       u32;\r
+typedef int32_t        s32;\r
 typedef uintptr_t      uptr; // unsigned pointer-sized int\r
 \r
 // ----------------------- 68000 CPU -----------------------\r