X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=actions.c;h=0c3cf3dba81c016e8b09cfb45f50d7dcfb8f61f3;hp=967a974023c7a6f5f4d377db809f6a0c5a9a1faa;hb=5033abe001885b8f206fcf9d03ebe3b227958357;hpb=44e93e6343f9fe1deb9ad4852683fe5ca8e9a01b diff --git a/actions.c b/actions.c index 967a9740..0c3cf3db 100644 --- a/actions.c +++ b/actions.c @@ -1,4 +1,4 @@ -const char actions_rcs[] = "$Id: actions.c,v 1.54 2008/09/20 10:04:33 fabiankeil Exp $"; +const char actions_rcs[] = "$Id: actions.c,v 1.55 2008/12/04 18:18:56 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/actions.c,v $ @@ -33,6 +33,9 @@ const char actions_rcs[] = "$Id: actions.c,v 1.54 2008/09/20 10:04:33 fabiankeil * * Revisions : * $Log: actions.c,v $ + * Revision 1.55 2008/12/04 18:18:56 fabiankeil + * Fix some cparser warnings. + * * Revision 1.54 2008/09/20 10:04:33 fabiankeil * Remove hide-forwarded-for-headers action which has * been obsoleted by change-x-forwarded-for{block}. @@ -1742,9 +1745,9 @@ static int load_one_actions_file(struct client_state *csp, int fileid) *********************************************************************/ char * actions_to_text(const struct action_spec *action) { - unsigned mask = action->mask; - unsigned add = action->add; - char * result = strdup(""); + unsigned long mask = action->mask; + unsigned long add = action->add; + char *result = strdup(""); struct list_entry * lst; /* sanity - prevents "-feature +feature" */ @@ -1831,9 +1834,9 @@ char * actions_to_text(const struct action_spec *action) char * actions_to_html(const struct client_state *csp, const struct action_spec *action) { - unsigned mask = action->mask; - unsigned add = action->add; - char * result = strdup(""); + unsigned long mask = action->mask; + unsigned long add = action->add; + char *result = strdup(""); struct list_entry * lst; /* sanity - prevents "-feature +feature" */