aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpgme-tool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpgme-tool.c')
-rw-r--r--src/gpgme-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgme-tool.c b/src/gpgme-tool.c
index b1b2ab3e..da2b6ec9 100644
--- a/src/gpgme-tool.c
+++ b/src/gpgme-tool.c
@@ -743,7 +743,7 @@ gpg_error_t
result_add_timestamp (struct result_xml_state *state, char *name,
unsigned int timestamp)
{
- code[20];
+ char code[20];
snprintf (code, sizeof (code) - 1, "%ui", timestamp);
result_xml_tag_start (state, name, "unix", code, NULL);