From e31d2fac565ae6f32cb5283eb55392344364b453 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 10 Nov 2011 21:03:04 +0300 Subject: * Add incr and decr commands to kvstorage. * Add integers detection inside kvstorage. --- src/printf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/printf.c') 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; -- cgit v1.2.3