diff --git a/OpenCL/m07800_a0.cl b/OpenCL/m07800_a0.cl index c3ce13975..63b062984 100644 --- a/OpenCL/m07800_a0.cl +++ b/OpenCL/m07800_a0.cl @@ -55,7 +55,7 @@ static void SETSHIFTEDINT (u32 *a, const int n, const u32 v) a[d + 1] = l32_from_64_S (tmp); } -void sha1_transform (const u32 w0[4], const u32 w1[4], const u32 w2[4], const u32 w3[4], u32 digest[5]) +static void sha1_transform (const u32 w0[4], const u32 w1[4], const u32 w2[4], const u32 w3[4], u32 digest[5]) { u32 A = digest[0]; u32 B = digest[1]; @@ -375,7 +375,7 @@ __kernel void m07800_m04 (__global pw_t *pws, __global const kernel_rule_t *rule u32 final_len = pw_len; - int i; + u32 i; // append MagicArray @@ -635,7 +635,7 @@ __kernel void m07800_s04 (__global pw_t *pws, __global const kernel_rule_t *rule u32 final_len = pw_len; - int i; + u32 i; // append MagicArray