Commit fdb46f2d9b49f410373afb81aa03dc284ccef835

Con Kolivas 2011-06-26T00:06:19

32bit fixes.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/ocl.c b/ocl.c
index f3ba972..4e1cab0 100644
--- a/ocl.c
+++ b/ocl.c
@@ -107,11 +107,11 @@ void advance(char **area, unsigned *remaining, const char *marker)
 	*area = find;
 }
 
-#define OP3_INST_BFE_UINT	4UL
-#define OP3_INST_BFE_INT	5UL
-#define OP3_INST_BFI_INT	6UL
-#define OP3_INST_BIT_ALIGN_INT	12UL
-#define OP3_INST_BYTE_ALIGN_INT	13UL
+#define OP3_INST_BFE_UINT	4ULL
+#define OP3_INST_BFE_INT	5ULL
+#define OP3_INST_BFI_INT	6ULL
+#define OP3_INST_BIT_ALIGN_INT	12ULL
+#define OP3_INST_BYTE_ALIGN_INT	13ULL
 
 void patch_opcodes(char *w, unsigned remaining)
 {