summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-01-21 23:47:37 -0500
committerAnthony G. Basile <blueness@gentoo.org>2015-01-25 17:11:39 -0500
commitdc4537595ae7f5f434e32e0b41536d52ec4bef95 (patch)
tree3a4e75dbfa9bfd9f65c1c3602070d097015f9e49 /src
parent2ecc6ef9a20fa44978db0c151ed8a59e8e529716 (diff)
Fix some format strings for enums, they are signed
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r--src/shared/util.h2
1 files changed, 1 insertions, 1 deletions
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(); \
} \