diff options
author | Matt Turner <[email protected]> | 2012-09-04 22:57:48 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2012-09-05 22:28:50 -0700 |
commit | a9e8054fffc6e3e6a5f108a96c331858c28a5862 (patch) | |
tree | e4897e8f18ebac4575c4e4181771c67bc0f47fc1 /src | |
parent | 2b7a972e3f36bfcdc6fbe2b59d7ffdcde49c9405 (diff) |
glX_proto_send.py: Don't cast the return value of malloc
Diffstat (limited to 'src')
-rw-r--r-- | src/mapi/glapi/gen/glX_proto_send.py | 2 |
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++) { |