From a62c7d19025e8c9e3e778f24c7f02dc8cd653de8 Mon Sep 17 00:00:00 2001 From: Gabriele Gristina Date: Sun, 27 Nov 2016 23:59:30 +0100 Subject: [PATCH] Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... --- OpenCL/m07800_a0.cl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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