mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
glX_proto_send.py: Don't cast the return value of malloc
This commit is contained in:
parent
2b7a972e3f
commit
a9e8054fff
1 changed files with 1 additions and 1 deletions
|
|
@ -970,7 +970,7 @@ struct _glapi_table * __glXNewIndirectAPI( void )
|
|||
int o;
|
||||
|
||||
entries = _glapi_get_dispatch_table_size();
|
||||
table = (_glapi_proc *) malloc(entries * sizeof(_glapi_proc));
|
||||
table = malloc(entries * sizeof(_glapi_proc));
|
||||
|
||||
/* first, set all entries to point to no-op functions */
|
||||
for (i = 0; i < entries; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue