1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-05 19:44:21 +00:00

32bit fixes.

This commit is contained in:
Con Kolivas 2011-06-26 00:06:19 +10:00
parent 295ef0f9b8
commit fdb46f2d9b

10
ocl.c
View File

@ -107,11 +107,11 @@ void advance(char **area, unsigned *remaining, const char *marker)
*area = find; *area = find;
} }
#define OP3_INST_BFE_UINT 4UL #define OP3_INST_BFE_UINT 4ULL
#define OP3_INST_BFE_INT 5UL #define OP3_INST_BFE_INT 5ULL
#define OP3_INST_BFI_INT 6UL #define OP3_INST_BFI_INT 6ULL
#define OP3_INST_BIT_ALIGN_INT 12UL #define OP3_INST_BIT_ALIGN_INT 12ULL
#define OP3_INST_BYTE_ALIGN_INT 13UL #define OP3_INST_BYTE_ALIGN_INT 13ULL
void patch_opcodes(char *w, unsigned remaining) void patch_opcodes(char *w, unsigned remaining)
{ {