summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index 6ab06858..110bf4e3 100644
--- a/conf.c
+++ b/conf.c
@@ -291,7 +291,7 @@ conf_set_int (const char *key, int val) {
void
conf_set_int64 (const char *key, int64_t val) {
char s[20];
- snprintf (s, sizeof (s), PRId64, val);
+ snprintf (s, sizeof (s), "%"PRId64, val);
conf_set_str (key, s);
}