diff --git a/auto/src/glew_head.c b/auto/src/glew_head.c index 832ded7..592cd0f 100644 --- a/auto/src/glew_head.c +++ b/auto/src/glew_head.c @@ -221,7 +221,7 @@ static GLboolean _glewStrSame1 (const GLubyte** a, GLuint* na, const GLubyte* b, if(*na >= nb) { GLuint i=0; - while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++; + while (i < nb && (*a)[i] == b[i]) i++; if(i == nb) { *a = *a + nb; @@ -237,7 +237,7 @@ static GLboolean _glewStrSame2 (const GLubyte** a, GLuint* na, const GLubyte* b, if(*na >= nb) { GLuint i=0; - while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++; + while (i < nb && (*a)[i] == b[i]) i++; if(i == nb) { *a = *a + nb; @@ -253,7 +253,7 @@ static GLboolean _glewStrSame3 (const GLubyte** a, GLuint* na, const GLubyte* b, if(*na >= nb) { GLuint i=0; - while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++; + while (i < nb && (*a)[i] == b[i]) i++; if (i == nb && (*na == nb || (*a)[i] == ' ' || (*a)[i] == '\n' || (*a)[i] == '\r' || (*a)[i] == '\t')) { *a = *a + nb;