Fixed compiler warnings (comparison of integers of different signs) for kernel 7800 and 10100

pull/159/head
Gabriele 'matrix' Gristina 8 years ago
parent 58359f3b7e
commit 8d6d907957

@ -351,7 +351,7 @@ static void m07800m (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], const u32 pw_le
u32 final_len = pw_len;
int i;
u32 i;
// append MagicArray
@ -582,7 +582,7 @@ static void m07800s (u32 w0[4], u32 w1[4], u32 w2[4], u32 w3[4], const u32 pw_le
u32 final_len = pw_len;
int i;
u32 i;
// append MagicArray

@ -89,7 +89,7 @@ static void m10100m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global k
v0 ^= m;
int i;
u32 i;
int j;
for (i = 8, j = 2; i <= pw_len; i += 8, j += 2)
@ -187,7 +187,7 @@ static void m10100s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global k
v0 ^= m;
int i;
u32 i;
int j;
for (i = 8, j = 2; i <= pw_len; i += 8, j += 2)

Loading…
Cancel
Save