summaryrefslogtreecommitdiff
path: root/src/CAST.c
diff options
context:
space:
mode:
authorDwayne Litzenberger <dlitz@dlitz.net>2013-02-21 00:45:27 -0800
committerDwayne Litzenberger <dlitz@dlitz.net>2013-04-21 20:41:18 -0700
commit1dd8353cc490f954677285415ec01e253f84b93d (patch)
tree485b17eeaad2f25b85f5491a47d0224047ce9137 /src/CAST.c
parent076560be889ef220c8fb10dd68635468939345ab (diff)
downloadpycrypto-1dd8353cc490f954677285415ec01e253f84b93d.tar.gz
Add pycrypto_common.h and clean up a bunch of miscellaneous includes & typedefs
Diffstat (limited to 'src/CAST.c')
-rw-r--r--src/CAST.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CAST.c b/src/CAST.c
index 9ff9862..ca5d0f0 100644
--- a/src/CAST.c
+++ b/src/CAST.c
@@ -42,7 +42,7 @@
*/
-#include "Python.h"
+#include "pycrypto_common.h"
#define MODULE_NAME _CAST
#define BLOCK_SIZE 8
@@ -50,8 +50,8 @@
/* adjust these according to your compiler/platform. On some machines
uint32 will have to be a long. It's OK if uint32 is more than 32 bits. */
-typedef unsigned int uint32;
-typedef unsigned char uint8;
+typedef uint32_t uint32;
+typedef uint8_t uint8;
/* this struct probably belongs in cast.h */
typedef struct {