From a4a1dc20bc4d8d91c0e8aef0c6ddc13331e06284 Mon Sep 17 00:00:00 2001 From: TJ Saunders Date: Mon, 20 Jun 2016 11:40:45 -0700 Subject: [PATCH] Quell compiler warnings about added trace logging. --- src/support.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/support.c b/src/support.c index 1f0eae7721..3f2377dc9d 100644 --- a/src/support.c +++ b/src/support.c @@ -1265,11 +1265,12 @@ const char *path_subst_uservar(pool *path_pool, const char **path) { if (i < 0) { pr_trace_msg("auth", 3, - "out-of-bounds index number (%d) found in '%s', ignoring", i, substr); + "out-of-bounds index number (%ld) found in '%s', ignoring", i, + substr); } else { pr_trace_msg("auth", 3, - "out-of-bounds index number (%d > %lu) found in '%s', ignoring", i, + "out-of-bounds index number (%ld > %lu) found in '%s', ignoring", i, (unsigned long) user_len-1, substr); }