summaryrefslogtreecommitdiff
path: root/src/utils/sha256.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/sha256.cpp')
-rw-r--r--src/utils/sha256.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/sha256.cpp b/src/utils/sha256.cpp
index 761f4edb..a97dce3c 100644
--- a/src/utils/sha256.cpp
+++ b/src/utils/sha256.cpp
@@ -78,8 +78,8 @@
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
-typedef unsigned char uint8_t;
-typedef unsigned int uint32_t;
+using uint8_t = unsigned char;
+using uint32_t = unsigned int;
#endif
#define SHA256_BLOCK_SIZE (512 / 8)