From 69c0a4363f18809e3eefe29c0cd3818170edbde4 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Sun, 22 Nov 2015 20:53:49 +0100 Subject: [PATCH 3/7] Fix warning: "pointer targets in passing argument 2 of '_dbus_string_append_len' 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 5bd756b..befb16a 100644 --- a/dbus/dbus-sha.c +++ b/dbus/dbus-sha.c @@ -460,7 +460,7 @@ _dbus_sha_final (DBusSHAContext *context, sha_finish (context, digest); - if (!_dbus_string_append_len (results, digest, 20)) + if (!_dbus_string_append_len (results, (char *) digest, 20)) return FALSE; /* some kind of security paranoia, though it seems pointless -- 1.8.4.5