X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Fwctype.h;h=bc2420d3fd84756c11bc575b41224266baf18925;hb=760f5d7efed4d4761875334f8c4e6398be308cc9;hp=3da1219566d802cb92b2313fbcf9449ee97bef74;hpb=a60457c84a4b59ab564d7f4abb660a70283ba98d;p=musl diff --git a/include/wctype.h b/include/wctype.h index 3da12195..bc2420d3 100644 --- a/include/wctype.h +++ b/include/wctype.h @@ -45,7 +45,7 @@ wctype_t wctype(const char *); #ifndef __cplusplus #undef iswdigit -#define iswdigit(a) (((unsigned)(a)-L'0') < 10) +#define iswdigit(a) (0 ? iswdigit(a) : ((unsigned)(a)-'0') < 10) #endif #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \