fix a few more warnings under Windows
fix linker issue due to unsigned/int variable
This commit is contained in:
@@ -315,7 +315,7 @@ long _maxdot_large( const float *vv, const float *vec, unsigned long count, floa
|
||||
index += localCount/4;
|
||||
#else
|
||||
{
|
||||
for( int i=0; i<localCount/4; i++,index++)
|
||||
for( unsigned int i=0; i<localCount/4; i++,index++)
|
||||
{ // do four dot products at a time. Carefully avoid touching the w element.
|
||||
float4 v0 = vertices[0];
|
||||
float4 v1 = vertices[1];
|
||||
@@ -702,7 +702,7 @@ long _mindot_large( const float *vv, const float *vec, unsigned long count, floa
|
||||
index += localCount/4;
|
||||
#else
|
||||
{
|
||||
for( int i=0; i<localCount/4; i++,index++)
|
||||
for( unsigned int i=0; i<localCount/4; i++,index++)
|
||||
{ // do four dot products at a time. Carefully avoid touching the w element.
|
||||
float4 v0 = vertices[0];
|
||||
float4 v1 = vertices[1];
|
||||
|
||||
Reference in New Issue
Block a user