Commit 826cc4800effa693a8b0a1876ee79e960b28e4e3

Con Kolivas 2011-07-08T11:58:04

Opcode should be ULL.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/ocl.c b/ocl.c
index 71f5721..69c43dc 100644
--- a/ocl.c
+++ b/ocl.c
@@ -154,7 +154,7 @@ void patch_opcodes(char *w, unsigned remaining)
 			} else if (alu_inst == OP3_INST_BYTE_ALIGN_INT) {
 				count_byte_align++;
 				// patch this instruction to BFI_INT
-				*opcode &= 0xfffc1fffffffffffUL;
+				*opcode &= 0xfffc1fffffffffffULL;
 				*opcode |= OP3_INST_BFI_INT << (32 + 13);
 				patched++;
 			}