summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80/include/z8/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/z80/include/z8/types.h')
-rw-r--r--nuttx/arch/z80/include/z8/types.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/z80/include/z8/types.h b/nuttx/arch/z80/include/z8/types.h
index 0e269a5de..324ca236c 100644
--- a/nuttx/arch/z80/include/z8/types.h
+++ b/nuttx/arch/z80/include/z8/types.h
@@ -79,18 +79,18 @@
* rom pointer - 16-bits
*/
-typedef char _int8_t;
+typedef signed char _int8_t;
typedef unsigned char _uint8_t;
-typedef int _int16_t;
+typedef signed int _int16_t;
typedef unsigned int _uint16_t;
-typedef long _int32_t;
+typedef signed long _int32_t;
typedef unsigned long _uint32_t;
/* A pointer is 2 bytes */
-typedef unsigned int _intptr_t;
+typedef signed int _intptr_t;
typedef unsigned int _uintptr_t;
/* This is the size of the interrupt state save returned by irqsave() */