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 7b8beb4 commit 5c41e09Copy full SHA for 5c41e09
Shared/sdk/sha2.h
@@ -31,6 +31,8 @@
31
* SUCH DAMAGE.
32
*/
33
34
+#include <cstdint>
35
+
36
#ifndef SHA2_H
37
#define SHA2_H
38
@@ -46,9 +48,9 @@
46
48
47
49
#ifndef SHA2_TYPES
50
#define SHA2_TYPES
-typedef unsigned char uint8;
-typedef unsigned int uint32;
51
-typedef unsigned long long uint64;
+using uint8 = std::uint8_t;
52
+using uint32 = std::uint32_t;
53
+using uint64 = std::uint64_t;
54
#endif
55
56
#ifdef __cplusplus
0 commit comments