egl: fix cast to silence compiler warning
authorBrian Paul <brianp@vmware.com>
Thu, 12 Mar 2015 14:35:38 +0000 (08:35 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 13 Mar 2015 14:03:43 +0000 (08:03 -0600)
commitd24a20e967303e1172928937fb7f96f010d4a99c
tree7d4fff10760e5d2f4a73e707a41f29b077983326
parenta38e6c4fbd6a941ec9ffb98bdf9f040cccda0247
egl: fix cast to silence compiler warning

eglcurrent.c: In function '_eglSetTSD':
eglcurrent.c:57:4: warning: passing argument 2 of 'tss_set' discards
'const' qualifier from pointer target type [enabled by default]
    tss_set(_egl_TSD, (const void *) t);
    ^
In file included from ../../../include/c11/threads.h:72:0,
                 from eglcurrent.c:32:
../../../include/c11/threads_posix.h:357:1: note: expected 'void *'
but argument is of type 'const void *'
 tss_set(tss_t key, void *val)
 ^

Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/egl/main/eglcurrent.c