X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Fsafe-ctype.h;h=fa4f4d5cf55dcac3eff103437a525e9bd245597d;hb=4d7c5e087b2bc82c9f503dff003916d1047903ce;hp=af88a26baac45e18463479f813bf3a8ec4c4c369;hpb=4fd9c65005a235958daffa2dec1b1d1f4ddad32c;p=wget diff --git a/src/safe-ctype.h b/src/safe-ctype.h index af88a26b..fa4f4d5c 100644 --- a/src/safe-ctype.h +++ b/src/safe-ctype.h @@ -7,7 +7,7 @@ This file is part of the libiberty library. Libiberty is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. +version 3 of the License, or (at your option) any later version. Libiberty is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,9 +15,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public -License along with libiberty; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite -Boston, MA 02111-1307, USA. +License along with libiberty. If not, see +. In addition, as a special exception, the Free Software Foundation gives permission to link the code of its release of Wget with the @@ -100,7 +99,7 @@ enum { /* Character classification. */ extern const unsigned short _sch_istable[256]; -#define _sch_test(c, bit) (_sch_istable[(c) & 0xff] & (unsigned char)(bit)) +#define _sch_test(c, bit) (_sch_istable[(c) & 0xff] & (unsigned short)(bit)) #define ISALPHA(c) _sch_test(c, _sch_isalpha) #define ISALNUM(c) _sch_test(c, _sch_isalnum)