*** empty log message ***

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@222 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
ikits 2004-02-02 02:41:11 +00:00
parent 75f8438adc
commit 92c983a605

View File

@ -102,7 +102,7 @@ GLboolean glewParseArgs (int argc, char** argv, char** display, int* visual)
else if (!strcmp(argv[p], "-visual")) else if (!strcmp(argv[p], "-visual"))
{ {
if (++p >= argc) return GL_TRUE; if (++p >= argc) return GL_TRUE;
*visual = strtol(argv[p++], NULL, 0); *visual = (int)strtol(argv[p++], NULL, 0);
} }
else else
return GL_TRUE; return GL_TRUE;