mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 06:28:00 +02:00
marshalling tests: fix an incorrect use of memcmp
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89243 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
This commit is contained in:
parent
e554e1b4ba
commit
f6a2b907ec
1 changed files with 1 additions and 1 deletions
|
|
@ -1580,7 +1580,7 @@ swap_test_array (void *array,
|
|||
#define DEMARSHAL_FIXED_ARRAY_AND_CHECK(typename, byte_order, literal) \
|
||||
do { \
|
||||
DEMARSHAL_FIXED_ARRAY (typename, byte_order); \
|
||||
if (memcmp (literal, v_ARRAY_##typename, sizeof (literal) != 0)) \
|
||||
if (memcmp (literal, v_ARRAY_##typename, sizeof (literal)) != 0) \
|
||||
{ \
|
||||
_dbus_verbose ("MARSHALED DATA\n"); \
|
||||
_dbus_verbose_bytes_of_string (&str, dump_pos, \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue