We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0cd271 commit 42d9c73Copy full SHA for 42d9c73
types.h
@@ -27,17 +27,21 @@
27
#ifndef _BRICK_EMU_TYPES_H_
28
#define _BRICK_EMU_TYPES_H_
29
30
-typedef signed char int8;
31
-typedef unsigned char uint8;
32
-typedef signed short int16;
33
-typedef unsigned short uint16;
34
-typedef signed int int32;
35
-typedef unsigned int uint32;
+#include <stdint.h>
+
+typedef int8_t int8;
+typedef uint8_t uint8;
+typedef int16_t int16;
+typedef uint16_t uint16;
36
+typedef int32_t int32;
37
+typedef uint32_t uint32;
38
+typedef int64_t int64;
39
+typedef uint64_t uint64;
40
41
/*
42
* Cycle count main data type
43
*/
-typedef unsigned long long cycle_count_t;
44
+typedef uint64_t cycle_count_t;
45
46
47
* Cycle count printf format
0 commit comments