From 392af2beb17272b2de78db88098345636c680768 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_a1.cl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenCL/m07800_a1.cl b/OpenCL/m07800_a1.cl index 9ea697c52..8c175af6a 100644 --- a/OpenCL/m07800_a1.cl +++ b/OpenCL/m07800_a1.cl @@ -53,7 +53,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]; @@ -433,7 +433,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 @@ -753,7 +753,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