From: Fabian Keil Date: Thu, 28 Dec 2006 17:15:42 +0000 (+0000) Subject: Fix gcc43 conversion warning. X-Git-Tag: v_3_0_7~424 X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/@user-manual@actions-file.html?a=commitdiff_plain;h=65838b39b6975bada3a457d081476754193877bf;p=privoxy.git Fix gcc43 conversion warning. --- diff --git a/actions.c b/actions.c index dc33b9fa..5f1ab9b0 100644 --- a/actions.c +++ b/actions.c @@ -1,7 +1,7 @@ -const char actions_rcs[] = "$Id: actions.c,v 1.32.2.6 2006/01/29 23:10:56 david__schmidt Exp $"; +const char actions_rcs[] = "$Id: actions.c,v 1.35 2006/07/18 14:48:45 david__schmidt Exp $"; /********************************************************************* * - * File : $Source: /cvsroot/ijbswa/current/Attic/actions.c,v $ + * File : $Source: /cvsroot/ijbswa/current/actions.c,v $ * * Purpose : Declares functions to work with actions files * Functions declared include: FIXME @@ -33,6 +33,10 @@ const char actions_rcs[] = "$Id: actions.c,v 1.32.2.6 2006/01/29 23:10:56 david_ * * Revisions : * $Log: actions.c,v $ + * Revision 1.35 2006/07/18 14:48:45 david__schmidt + * Reorganizing the repository: swapping out what was HEAD (the old 3.1 branch) + * with what was really the latest development (the v_3_0_branch branch) + * * Revision 1.32.2.6 2006/01/29 23:10:56 david__schmidt * Multiple filter file support * @@ -1086,7 +1090,7 @@ static int load_one_actions_file(struct client_state *csp, int fileid) if (buf[1] == '{') { /* It's {{settings}} or {{alias}} */ - int len = strlen(buf); + size_t len = strlen(buf); char * start = buf + 2; char * end = buf + len - 1; if ((len < 5) || (*end-- != '}') || (*end-- != '}'))