Commit 6a83fb51 authored by Jeremy Huddleston Sequoia's avatar Jeremy Huddleston Sequoia
Browse files

xquartz: Fix a compiler warning about const incompatible pointer assignment

driWrap.c:541:30: error: assigning to 'GCOps *' (aka 'struct _GCOps *') from 'const GCOps *' (aka 'const struct _GCOps *') discards
      qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
        pGCPriv->originalOps = pGC->ops;
                             ^ ~~~~~~~~
Signed-off-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston Sequoia <>
parent a3ddcdd5
......@@ -45,7 +45,7 @@
#include <OpenGL/OpenGL.h>
typedef struct {
GCOps *originalOps;
GCOps const *originalOps;
typedef struct {
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