Commit 9617f352 authored by Nigel Stewart's avatar Nigel Stewart
Browse files

Fix regression in _glewExtensionCompare due to strcmp migration

parent 18ef5d02
......@@ -4,7 +4,7 @@ static int _glewExtensionCompare(const void *a, const void *b)
{
/* http://www.chanduthedev.com/2012/07/strcmp-implementation-in-c.html */
const char *s1 = (const char *) a;
const char *s2 = (const char *) b;
const char *s2 = *(const char * const *) b;
while (*s1 || *s2)
{
if (*s1 > *s2)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment