From: jongfoster Date: Sun, 12 May 2002 16:05:50 +0000 (+0000) Subject: Fixing ACTION_MASK_ALL to be unsigned long rather than X-Git-Tag: v_3_0_branchpoint~91 X-Git-Url: http://www.privoxy.org/gitweb/user-manual/copyright.html?a=commitdiff_plain;h=1b4d4f3ab4ec936d30c27fac8eb90ebba51a7412;p=privoxy.git Fixing ACTION_MASK_ALL to be unsigned long rather than just unsigned int. I don't know if anyone is porting Privoxy to 16-bit platforms, but if so, +limit-connect wouldn't have worked because of this bug. --- diff --git a/project.h b/project.h index 97916626..890eecc1 100644 --- a/project.h +++ b/project.h @@ -1,6 +1,6 @@ #ifndef PROJECT_H_INCLUDED #define PROJECT_H_INCLUDED -#define PROJECT_H_VERSION "$Id: project.h,v 1.68 2002/04/26 12:56:00 oes Exp $" +#define PROJECT_H_VERSION "$Id: project.h,v 1.69 2002/05/08 16:00:16 oes Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/project.h,v $ @@ -36,6 +36,10 @@ * * Revisions : * $Log: project.h,v $ + * Revision 1.69 2002/05/08 16:00:16 oes + * Added size member to struct iob, so it can + * be alloced larger than needed. + * * Revision 1.68 2002/04/26 12:56:00 oes * Killed REDIRECT_URL, added USER_MANUAL_URL and HELP_LINK_PREFIX * @@ -676,7 +680,7 @@ struct iob #define CT_GIF 2 /* Suitable for GIF filtering */ #define CT_TABOO 4 /* DONT filter */ -#define ACTION_MASK_ALL (~0U) +#define ACTION_MASK_ALL (~0UL) #define ACTION_MOST_COMPATIBLE 0x00000000UL