mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 13:55:07 +00:00
Fix regression in _glewExtensionCompare due to strcmp migration
This commit is contained in:
parent
18ef5d021b
commit
9617f35263
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user