- Made Camellia use uint32_t for 64-bit compatibility
diff --git a/include/polarssl/camellia.h b/include/polarssl/camellia.h
index 9f2e103..1b144e7 100644
--- a/include/polarssl/camellia.h
+++ b/include/polarssl/camellia.h
@@ -20,6 +20,8 @@
#ifndef POLARSSL_CAMELLIA_H
#define POLARSSL_CAMELLIA_H
+#include <inttypes.h>
+
#define CAMELLIA_ENCRYPT 1
#define CAMELLIA_DECRYPT 0
@@ -29,7 +31,7 @@
typedef struct
{
int nr; /*!< number of rounds */
- unsigned long rk[68]; /*!< CAMELLIA round keys */
+ uint32_t rk[68]; /*!< CAMELLIA round keys */
}
camellia_context;