diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2018-06-15 15:17:28 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-06-15 16:23:30 +0200 |
commit | 1c0aa397b372cf6cccaacd11546cc99011090d35 (patch) | |
tree | 665a8527371b88dce65d1bb93d23fbd787df4ef4 /libnm | |
parent | ba5feb8ca864706d157b33461cffc572fab1104e (diff) | |
download | NetworkManager-1c0aa397b372cf6cccaacd11546cc99011090d35.tar.gz |
libnm: correctly demarshall (u)int64 values
Diffstat (limited to 'libnm')
-rw-r--r-- | libnm/nm-object.c | 4 |
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) |