From acd8646648b6a54d5e0c2aac2e51eeb2572def11 Mon Sep 17 00:00:00 2001 From: divverent Date: Thu, 25 Nov 2010 19:51:49 +0000 Subject: [PATCH] fix a cast git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10632 d7cf8633-e32d-0410-b094-e92efae38249 --- crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto.c b/crypto.c index c261d490..cf83ed1b 100644 --- a/crypto.c +++ b/crypto.c @@ -2336,7 +2336,7 @@ size_t Crypto_SignData(const void *data, size_t datasize, int keyid, void *signe return 0; if(!pubkeys_havepriv[keyid]) return 0; - if(qd0_blind_id_sign_with_private_id_sign(pubkeys[keyid], true, false, (char *)data, datasize, (char *)signed_data, &signed_size)) + if(qd0_blind_id_sign_with_private_id_sign(pubkeys[keyid], true, false, (const char *)data, datasize, (char *)signed_data, &signed_size)) return signed_size; return 0; } -- 2.39.2