summaryrefslogtreecommitdiffstats
path: root/src/printf.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-10 21:03:04 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-10 21:03:04 +0300
commite31d2fac565ae6f32cb5283eb55392344364b453 (patch)
treeafc154180d958c7df69ce4fd3783364065f5500f /src/printf.c
parent4e1470d50f1ece3277dec6c770c5ea74d0db10b7 (diff)
downloadrspamd-e31d2fac565ae6f32cb5283eb55392344364b453.tar.gz
rspamd-e31d2fac565ae6f32cb5283eb55392344364b453.zip
* Add incr and decr commands to kvstorage.
* Add integers detection inside kvstorage.
Diffstat (limited to 'src/printf.c')
-rw-r--r--src/printf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/printf.c b/src/printf.c
index 54919a5c1..3ab5be3df 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -468,9 +468,9 @@ rspamd_vsnprintf (gchar *buf, glong max, const gchar *fmt, va_list args)
case 'l':
if (sign) {
- i64 = (gint64) va_arg(args, long);
+ i64 = (gint64) va_arg(args, glong);
} else {
- ui64 = (guint64) va_arg(args, guint32);
+ ui64 = (guint64) va_arg(args, gulong);
}
break;