[gnome-builder] c-pack: specify string length for void
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] c-pack: specify string length for void
- Date: Wed, 13 Jun 2018 11:22:03 +0000 (UTC)
commit e5d21dccee429f93a927fe849ba80f28848407a5
Author: Christian Hergert <chergert redhat com>
Date: Wed Jun 13 04:21:19 2018 -0700
c-pack: specify string length for void
src/plugins/c-pack/hdr-format.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/c-pack/hdr-format.c b/src/plugins/c-pack/hdr-format.c
index 69778d273..920c01d30 100644
--- a/src/plugins/c-pack/hdr-format.c
+++ b/src/plugins/c-pack/hdr-format.c
@@ -372,7 +372,10 @@ hdr_format_string (const gchar *data,
g_string_append (out, rtype);
}
else
- g_string_append (out, "void");
+ {
+ g_string_append (out, "void");
+ rlen = 4;
+ }
for (guint j = rlen; j < long_ret; j++)
g_string_append_c (out, ' ');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]