From dc4537595ae7f5f434e32e0b41536d52ec4bef95 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Wed, 21 Jan 2015 23:47:37 -0500 Subject: Fix some format strings for enums, they are signed Signed-off-by: Anthony G. Basile --- src/shared/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/util.h b/src/shared/util.h index 010a636027..a6ac7ebe42 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -238,7 +238,7 @@ void initialize_srand(void); if (!s) \ return log_oom(); \ } else { \ - r = asprintf(&s, "%u", i); \ + r = asprintf(&s, "%i", i); \ if (r < 0) \ return log_oom(); \ } \ -- cgit v1.2.3-54-g00ecf