diff options
author | Richard Hughes <richard@hughsie.com> | 2016-08-22 09:57:59 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-08-22 09:57:59 +0100 |
commit | b4b00a8870d65fddb2b2d8223b080a5afc2944b1 (patch) | |
tree | c4c04c9139859bab147deae8f99c251796b192c8 | |
parent | 7ed24354aa7a71be135cba3a436ec8df4f330dd9 (diff) | |
download | appstream-glib-wip/hughsie/arm-fixes.tar.gz |
-rw-r--r-- | libappstream-glib/as-node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-node.c b/libappstream-glib/as-node.c index 4f2a7ee..bceb7b2 100644 --- a/libappstream-glib/as-node.c +++ b/libappstream-glib/as-node.c @@ -1327,7 +1327,7 @@ as_node_insert_line_breaks (const gchar *text, guint break_len) gssize new_len; /* allocate long enough for the string, plus the extra newlines */ - new_len = (gssize) strlen (text) * (break_len + 1) / break_len; + new_len = (gssize) (strlen (text) * (break_len + 1) / break_len); str = g_string_new_len (NULL, new_len + 2); g_string_append (str, "\n"); g_string_append (str, text); |