summarylogtreecommitdiffstats
path: root/gargoyle.patch
blob: d7c6e0b16e8329c52eb3bd8bedab0a568fff40f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- Generic/defs.h	2023-12-18 21:16:21.000000000 +0100
+++ Generic.garg/defs.h	2024-11-27 22:20:44.261646196 +0100
@@ -35,12 +35,16 @@
 *       correct number of bits on your system !!!
 \*****************************************************************************/
 
-typedef unsigned char  type8;
-typedef signed   char  type8s;
-typedef unsigned short type16;
-typedef signed   short type16s;
-typedef unsigned long  type32;
-typedef signed   long  type32s;
+#include <stdint.h>
+
+typedef uint8_t type8;
+typedef int8_t type8s;
+
+typedef uint16_t type16;
+typedef int16_t type16s;
+
+typedef uint32_t type32;
+typedef int32_t type32s;
 
 /****************************************************************************\
 * Compile time switches