summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-07-05 21:49:20 +0200
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-07-05 21:49:20 +0200
commit3e56c4fa4b69e20afda0c162714549ee116e06cc (patch)
tree6bea9ee69bed640f36c914abb21024d71c8b6ff4
parent9d89e6910ef356caf626cbdb9d1d7104e3dc62ef (diff)
fixed conf_set_int64
-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);
}