diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/glx/glxglvnd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/glxglvnd.c b/src/glx/glxglvnd.c index 962eda8bb5b..098304d5574 100644 --- a/src/glx/glxglvnd.c +++ b/src/glx/glxglvnd.c @@ -24,8 +24,8 @@ static unsigned FindGLXFunction(const GLubyte *name) while (first <= last) { int middle = (first + last) / 2; - int comp = strcmp((const char *) name, - __glXDispatchTableStrings[middle]); + int comp = strcmp(__glXDispatchTableStrings[middle], + (const char *) name); if (comp < 0) first = middle + 1; |