sms: fix validity variant parsing

This commit is contained in:
Aleksander Morgado
2013-05-17 08:48:24 +02:00
parent f31ab09433
commit 48f47cd53f

View File

@@ -83,7 +83,7 @@ get_validity_relative (GVariant *tuple)
if (!tuple)
return 0;
g_variant_get (tuple, "(ub)", &type, &value);
g_variant_get (tuple, "(uv)", &type, &value);
if (type == MM_SMS_VALIDITY_TYPE_RELATIVE)
value_integer = g_variant_get_uint32 (value);