ryantimwilson / rpms / systemd

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