projects
/
free-sw
/
xcb
/
libxcb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c1d202
)
Clean up a couple of warnings in xprint
author
Peter Harris
<pharris@opentext.com>
Thu, 23 Sep 2010 02:32:34 +0000
(22:32 -0400)
committer
Peter Harris
<pharris@opentext.com>
Thu, 23 Sep 2010 02:32:51 +0000
(22:32 -0400)
Signed-off-by: Peter Harris <pharris@opentext.com>
src/c_client.py
patch
|
blob
|
history
diff --git
a/src/c_client.py
b/src/c_client.py
index
a66c7e3
..
1f3277a
100644
(file)
--- a/
src/c_client.py
+++ b/
src/c_client.py
@@
-875,7
+875,7
@@
def _c_serialize_helper_fields_variable_size(context, self, field,
# special case: intermixed fixed and variable size fields
if self.var_followed_by_fixed_fields and 'unserialize' == context:
- value = ' %s =
xcb_tmp;' % field.c_field_name
+ value = ' %s =
(%s *)xcb_tmp;' % (field.c_field_name, field.c_field_type)
temp_vars.append(' %s *%s;' % (field.type.c_type, field.c_field_name))
# special case: switch
if 'unpack' == context: