diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-11-01 22:47:08 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-11-01 22:47:08 (GMT) |
commit | 565c3f494b51715cf67575fc5951c6103049f29d (patch) | |
tree | aa0c603deb50626761157cdfc77ca858338c7816 /src/glibext | |
parent | 51e0be89c8f94ddc1bb023a4fb7ce4161e42df98 (diff) |
Always set a string literal as string format to please -Wformat-security.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@602 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/glibext')
-rw-r--r-- | src/glibext/gbufferline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glibext/gbufferline.c b/src/glibext/gbufferline.c index 859b6ac..7768a0e 100644 --- a/src/glibext/gbufferline.c +++ b/src/glibext/gbufferline.c @@ -1356,7 +1356,7 @@ void g_buffer_line_export(GBufferLine *line, buffer_export_context *ctx, BufferE switch (type) { case BET_TEXT: - if (i > 0) dprintf(ctx->fd, ctx->sep); + if (i > 0) dprintf(ctx->fd, "%s", ctx->sep); break; default: break; |