summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2012-09-04 22:57:48 -0700
committerMatt Turner <[email protected]>2012-09-05 22:28:50 -0700
commita9e8054fffc6e3e6a5f108a96c331858c28a5862 (patch)
treee4897e8f18ebac4575c4e4181771c67bc0f47fc1 /src/mapi
parent2b7a972e3f36bfcdc6fbe2b59d7ffdcde49c9405 (diff)
glX_proto_send.py: Don't cast the return value of malloc
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/glX_proto_send.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/glX_proto_send.py b/src/mapi/glapi/gen/glX_proto_send.py
index 24dc5004c01..d42f661eaff 100644
--- a/src/mapi/glapi/gen/glX_proto_send.py
+++ b/src/mapi/glapi/gen/glX_proto_send.py
@@ -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++) {