a52f674
From cb7312ee004ba4f1a0f8cf7f103c99fe2ae02b9e Mon Sep 17 00:00:00 2001
a52f674
From: Michal Sekletar <msekleta@redhat.com>
a52f674
Date: Mon, 10 Feb 2014 15:41:47 +0100
a52f674
Subject: [PATCH] utils: silence the compiler warning
a52f674
a52f674
---
a52f674
 src/shared/util.c | 2 +-
a52f674
 1 file changed, 1 insertion(+), 1 deletion(-)
a52f674
a52f674
diff --git a/src/shared/util.c b/src/shared/util.c
a52f674
index 52451f9..7500779 100644
a52f674
--- a/src/shared/util.c
a52f674
+++ b/src/shared/util.c
a52f674
@@ -427,7 +427,7 @@ char *split_quoted(const char *c, size_t *l, char **state) {
a52f674
                 *state = (char*) e;
a52f674
         }
a52f674
 
a52f674
-        return current;
a52f674
+        return (char *) current;
a52f674
 }
a52f674
 
a52f674
 int get_parent_of_pid(pid_t pid, pid_t *_ppid) {