st/mesa: fix incorrect pointer type arguments in st_new_program()
authorBrian Paul <brianp@vmware.com>
Thu, 15 Oct 2015 13:25:51 +0000 (07:25 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 16 Oct 2015 15:15:05 +0000 (09:15 -0600)
commitafff809fea373f849b648983bff8390c090b7145
treecb5b081f43239c37fe22fc4cc0e73b56c56e8075
parent4627e8058ec1bc02cc2b6464ff83394b2d16879e
st/mesa: fix incorrect pointer type arguments in st_new_program()

Silences 5 warnings of the type:
state_tracker/st_cb_program.c: In function 'st_new_program':
state_tracker/st_cb_program.c:108:7: warning: passing argument 1 of
'_mesa_init_gl_program' from incompatible pointer type [enabled by default]
       return _mesa_init_gl_program(&prog->Base, target, id);
       ^
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/mesa/state_tracker/st_cb_program.c