From a45323440e28b05b4a5877f88329c6278c81dac8 Mon Sep 17 00:00:00 2001 From: "git@daemon.de" Date: Thu, 7 Nov 2013 12:41:34 +0100 Subject: [PATCH] fixed signedness warning --- libpcp/key.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpcp/key.c b/libpcp/key.c index 31d458f..2f4cf61 100644 --- a/libpcp/key.c +++ b/libpcp/key.c @@ -32,7 +32,7 @@ unsigned char *pcp_derivekey(char *passphrase) { int i; // make a hash from the passphrase and then HCYCLES times from the result - crypto_hash_sha256(temp, passphrase, plen); + crypto_hash_sha256(temp, (unsigned char*)passphrase, plen); for(i=0; i