From 8c3ecb99d844d81e54792d997fb5626b06362bcb Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Sun, 22 Nov 2015 20:54:18 +0100 Subject: [PATCH 4/7] Fix warning: "pointer targets in passing argument 1 of 'check_sha_binary' differ in signedness [-Wpointer-sign]". Bug: https://bugs.freedesktop.org/attachment.cgi?id=120024 --- dbus/dbus-sha.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus/dbus-sha.c b/dbus/dbus-sha.c index befb16a..c284970 100644 --- a/dbus/dbus-sha.c +++ b/dbus/dbus-sha.c @@ -550,7 +550,7 @@ static dbus_bool_t check_sha_str (const char *input, const char *expected) { - return check_sha_binary (input, strlen (input), expected); + return check_sha_binary ((unsigned char *) input, strlen (input), expected); } static dbus_bool_t -- 1.8.4.5