From 55c3c2b02f0c469bbea04fc66e9826c57b2cdf2e Mon Sep 17 00:00:00 2001 From: kub Date: Fri, 10 Jul 2020 09:09:52 +0200 Subject: [PATCH] core, fix type issues by using stdint types --- pico/pico_int.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pico/pico_int.h b/pico/pico_int.h index 088c7aa5..09cefdfd 100644 --- a/pico/pico_int.h +++ b/pico/pico_int.h @@ -33,12 +33,12 @@ extern "C" { #endif -typedef unsigned char u8; -typedef signed char s8; -typedef unsigned short u16; -typedef signed short s16; -typedef unsigned int u32; -typedef signed int s32; +typedef uint8_t u8; +typedef int8_t s8; +typedef uint16_t u16; +typedef int16_t s16; +typedef uint32_t u32; +typedef int32_t s32; typedef uintptr_t uptr; // unsigned pointer-sized int // ----------------------- 68000 CPU ----------------------- -- 2.39.5