diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/console/console.inl')
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/console/console.inl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/console/console.inl b/c/src/lib/libbsp/powerpc/shared/console/console.inl index 1e300ef01a..177444e870 100644 --- a/c/src/lib/libbsp/powerpc/shared/console/console.inl +++ b/c/src/lib/libbsp/powerpc/shared/console/console.inl @@ -6,17 +6,18 @@ */ #include <bsp.h> +#include <stdint.h> #define INL_IN_DECL(name,base) \ static inline unsigned char name(int off) \ { \ - return in_8((unsigned char*)(((unsigned long)base) + off)); \ + return in_8((uint8_t*)(((unsigned long)base) + off)); \ } #define INL_OUT_DECL(name,base) \ static inline void name(int off, unsigned int val) \ { \ - out_8((unsigned char*)(((unsigned long)base) + off), val); \ + out_8((uint8_t*)(((unsigned long)base) + off), val); \ } #ifdef BSP_UART_IOBASE_COM1 |