fix a few more warnings under Windows

fix linker issue due to unsigned/int variable
This commit is contained in:
erwin.coumans
2012-09-10 04:46:39 +00:00
parent 5417bae113
commit 77b662d5fe
4 changed files with 8 additions and 8 deletions

View File

@@ -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];