projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dd04cb
)
Fix warning: "pointer targets in passing argument 5 of 'byteswap_body_helper' differ...
author
Ralf Habacker
<ralf.habacker@freenet.de>
Sun, 22 Nov 2015 18:32:34 +0000
(19:32 +0100)
committer
Ralf Habacker
<ralf.habacker@freenet.de>
Mon, 23 Nov 2015 13:34:32 +0000
(14:34 +0100)
Bug: https://bugs.freedesktop.org/attachment.cgi?id=93069
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
dbus/dbus-marshal-byteswap.c
patch
|
blob
|
history
diff --git
a/dbus/dbus-marshal-byteswap.c
b/dbus/dbus-marshal-byteswap.c
index
e6711be
..
985108a
100644
(file)
--- a/
dbus/dbus-marshal-byteswap.c
+++ b/
dbus/dbus-marshal-byteswap.c
@@
-239,7
+239,7
@@
_dbus_marshal_byteswap (const DBusString *signature,
byteswap_body_helper (&reader, TRUE,
old_byte_order, new_byte_order,
- _dbus_string_get_data_len (value_str, value_pos, 0),
+
(unsigned char *)
_dbus_string_get_data_len (value_str, value_pos, 0),
NULL);
}