Skip to content

Conversation

mr-nice
Copy link

@mr-nice mr-nice commented Nov 24, 2017

The DBus specification [1] uses fixed width integer types.

Without using the correct values for at least the 16 bit width
types the following error occurs:

GLib-CRITICAL **: g_variant_get_int32: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_INT32)' failed
GLib-CRITICAL **: g_variant_get_uint32: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_UINT32)' failed

1: https://dbus.freedesktop.org/doc/dbus-specification.html

I attached a simple demo:

error-case.tar.gz

The DBus specification [1] uses fixed width integer types.

Without using the correct values for at least the 16 bit width
types the following error occurs:

GLib-CRITICAL **: g_variant_get_int32: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_INT32)' failed
GLib-CRITICAL **: g_variant_get_uint32: assertion 'g_variant_is_of_type (value, G_VARIANT_TYPE_UINT32)' failed

1: https://dbus.freedesktop.org/doc/dbus-specification.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant