projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b7a972
)
glX_proto_send.py: Don't cast the return value of malloc
author
Matt Turner
<mattst88@gmail.com>
Wed, 5 Sep 2012 05:57:48 +0000
(22:57 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Thu, 6 Sep 2012 05:28:50 +0000
(22:28 -0700)
src/mapi/glapi/gen/glX_proto_send.py
patch
|
blob
|
history
diff --git
a/src/mapi/glapi/gen/glX_proto_send.py
b/src/mapi/glapi/gen/glX_proto_send.py
index 24dc5004c01b80ea7b71385978a846d72c19bafe..d42f661eaff3fc8f81239b072b2987a85f541bb5 100644
(file)
--- 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++) {