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=93069
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
Ralf Habacker 2015-11-22 20:54:18 +01:00
parent 9ef8f69ab0
commit dd75ab9531

View file

@ -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