use ux instead of usz as the loop index in another place
This commit is contained in:
parent
6617540333
commit
ddb8d7c111
@ -159,7 +159,7 @@ u8 const matchFnData[] = { // for the main diagonal, amount to shift length by;
|
|||||||
bool F(NAME)(void* w, void* x, ux l, u64 d) { \
|
bool F(NAME)(void* w, void* x, ux l, u64 d) { \
|
||||||
assert(l>0); INIT \
|
assert(l>0); INIT \
|
||||||
S* wp = w; T* xp = x; \
|
S* wp = w; T* xp = x; \
|
||||||
for (usz i=0; i<l; i++) if (wp[i]!=xp[i]) return false; \
|
for (ux i=0; i<l; i++) if (wp[i]!=xp[i]) return false; \
|
||||||
return true; \
|
return true; \
|
||||||
}
|
}
|
||||||
#define DEF_EQ(N,S,T) DEF_EQ_I(N,S,T, if (d!=0) { void* t=w; w=x; x=t; })
|
#define DEF_EQ(N,S,T) DEF_EQ_I(N,S,T, if (d!=0) { void* t=w; w=x; x=t; })
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user