summaryrefslogtreecommitdiff
path: root/libnm
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-06-15 15:17:28 +0200
committerThomas Haller <thaller@redhat.com>2018-06-15 16:23:30 +0200
commit1c0aa397b372cf6cccaacd11546cc99011090d35 (patch)
tree665a8527371b88dce65d1bb93d23fbd787df4ef4 /libnm
parentba5feb8ca864706d157b33461cffc572fab1104e (diff)
downloadNetworkManager-1c0aa397b372cf6cccaacd11546cc99011090d35.tar.gz
libnm: correctly demarshall (u)int64 values
Diffstat (limited to 'libnm')
-rw-r--r--libnm/nm-object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnm/nm-object.c b/libnm/nm-object.c
index f162b15dc0..da2fbb79c0 100644
--- a/libnm/nm-object.c
+++ b/libnm/nm-object.c
@@ -900,9 +900,9 @@ demarshal_generic (NMObject *object,
else if (pspec->value_type == G_TYPE_UINT)
HANDLE_TYPE (G_VARIANT_TYPE_UINT32, guint, g_variant_get_uint32);
else if (pspec->value_type == G_TYPE_INT64)
- HANDLE_TYPE (G_VARIANT_TYPE_INT64, gint, g_variant_get_int64);
+ HANDLE_TYPE (G_VARIANT_TYPE_INT64, gint64, g_variant_get_int64);
else if (pspec->value_type == G_TYPE_UINT64)
- HANDLE_TYPE (G_VARIANT_TYPE_UINT64, guint, g_variant_get_uint64);
+ HANDLE_TYPE (G_VARIANT_TYPE_UINT64, guint64, g_variant_get_uint64);
else if (pspec->value_type == G_TYPE_LONG)
HANDLE_TYPE (G_VARIANT_TYPE_INT64, glong, g_variant_get_int64);
else if (pspec->value_type == G_TYPE_ULONG)