summaryrefslogtreecommitdiffstats
path: root/src/sbus/sssd_dbus_private.h
diff options
context:
space:
mode:
authorStef Walter <stefw@redhat.com>2014-02-24 09:58:15 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-03-14 13:42:00 +0100
commit5bad17538eab85ce69e0355cd25b52b4a473cc36 (patch)
tree6b2601444417ee89470d64cb914ba09effea7a4f /src/sbus/sssd_dbus_private.h
parent64319158ab6a0e6df2bb03f4fde31668cceb082b (diff)
downloadsssd-5bad17538eab85ce69e0355cd25b52b4a473cc36.tar.gz
sssd-5bad17538eab85ce69e0355cd25b52b4a473cc36.tar.xz
sssd-5bad17538eab85ce69e0355cd25b52b4a473cc36.zip
providers: Fix types passed to dbus varargs functions
Fix some incorrect types passed to dbus_message_get_args(), dbus_message_append_args() or functions accepting similar varargs and types. In particular sizeof(bool) != sizeof(dbus_bool_t) on most platforms. This probably only worked because the compiler was aligning stack variables and so writing off the end of one of them wasn't the end of the world. In addition fix cases where int != int32_t != uint32_t. Although these will work on many common platforms, assuming these are interchangeable is not cross platform safe. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Pavel Březina <pbrezina@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/sbus/sssd_dbus_private.h')
0 files changed, 0 insertions, 0 deletions