summaryrefslogtreecommitdiffhomepage
path: root/src/compat/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat/compat.h')
-rw-r--r--src/compat/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h
index 0a20751..28b8468 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -191,7 +191,7 @@ static inline int crypto_memneq(const void *a, const void *b, size_t size)
{
unsigned long neq = 0;
while (size > 0) {
- neq |= *(unsigned char *)a ^ *(unsigned char *)b;
+ neq |= *(u8 *)a ^ *(u8 *)b;
a += 1;
b += 1;
size -= 1;