From: Nigel Metheringham Date: Wed, 11 Nov 2009 14:43:28 +0000 (+0000) Subject: More signed/unsigned fixes. Need confirmation that this completely deals with bug... X-Git-Tag: exim-4_70~4 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/ab75a2dbbdef4db00c32d193c7701daa4b29cb6a More signed/unsigned fixes. Need confirmation that this completely deals with bug. Related: #905 --- diff --git a/src/src/lookups/spf.c b/src/src/lookups/spf.c index 7f7b6f141..ee2a2c7b9 100644 --- a/src/src/lookups/spf.c +++ b/src/src/lookups/spf.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/lookups/spf.c,v 1.2 2005/06/27 18:01:02 tom Exp $ */ +/* $Cambridge: exim/src/src/lookups/spf.c,v 1.3 2009/11/11 14:43:28 nm4 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -59,11 +59,11 @@ int spf_find(void *handle, uschar *filename, uschar *keystring, int key_len, return FAIL; } - if (SPF_request_set_ipv4_str(spf_request, filename)) { + if (SPF_request_set_ipv4_str(spf_request, CS filename)) { *errmsg = string_sprintf("invalid IP address '%s'", filename); return FAIL; } - if (SPF_request_set_env_from(spf_request, keystring)) { + if (SPF_request_set_env_from(spf_request, CS keystring)) { *errmsg = string_sprintf("invalid envelope from address '%s'", keystring); return FAIL; }