diff --git a/auto/src/glewinfo_post.c b/auto/src/glewinfo_post.c index fbb1fcc..8d32a02 100644 --- a/auto/src/glewinfo_post.c +++ b/auto/src/glewinfo_post.c @@ -102,7 +102,7 @@ GLboolean glewParseArgs (int argc, char** argv, char** display, int* visual) else if (!strcmp(argv[p], "-visual")) { if (++p >= argc) return GL_TRUE; - *visual = strtol(argv[p++], NULL, 0); + *visual = (int)strtol(argv[p++], NULL, 0); } else return GL_TRUE;