summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPellaeon Lin <nfsmwlin@gmail.com>2016-09-27 22:49:49 +0800
committerThomas Haller <thaller@redhat.com>2016-09-27 18:08:13 +0200
commit4d7cf9a16d8ab91c4b269be81707a67569f30955 (patch)
tree8461d68aa8a5cf4939de1d48ac4aa6390d04aab5
parente3a072f3c0d8046a9c1d01c8518c532b71f7bd7a (diff)
downloadNetworkManager-4d7cf9a16d8ab91c4b269be81707a67569f30955.tar.gz
libnm: fix typo g_size to gsize
Fixes: 32f78ae6c3baea7f2a90664fc676e73b236a4372 https://bugzilla.gnome.org/show_bug.cgi?id=772062
-rw-r--r--libnm-core/nm-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/nm-utils.c b/libnm-core/nm-utils.c
index cd54ba6b5f..4e1694696b 100644
--- a/libnm-core/nm-utils.c
+++ b/libnm-core/nm-utils.c
@@ -4571,7 +4571,7 @@ nm_utils_is_json_object (const char *str, GError **error)
/* do some very basic validation to see if this might be a JSON object. */
if (str[0] == '{') {
- g_size l;
+ gsize l;
l = strlen (str) - 1;
while (l > 0 && g_ascii_isspace (str[l]))