diff options
| author | Andrey Hristov <andrey@php.net> | 2011-05-10 07:15:22 +0000 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 2011-05-10 07:15:22 +0000 |
| commit | 229bdc7ccb4f1ef684172cfa5d7fb78eda8cd469 (patch) | |
| tree | 14bb5dc89b20cd6034ac9a246f2dc55107a65c4c /ext/mysqlnd/mysqlnd_charset.c | |
| parent | 20f4ea9de8d0cff3a897804c645e73f7cccecb95 (diff) | |
| download | php-git-229bdc7ccb4f1ef684172cfa5d7fb78eda8cd469.tar.gz | |
Fix range
(thanks again nihen)
Diffstat (limited to 'ext/mysqlnd/mysqlnd_charset.c')
| -rw-r--r-- | ext/mysqlnd/mysqlnd_charset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_charset.c b/ext/mysqlnd/mysqlnd_charset.c index a75861ccae..6c8e7a5cc1 100644 --- a/ext/mysqlnd/mysqlnd_charset.c +++ b/ext/mysqlnd/mysqlnd_charset.c @@ -327,7 +327,7 @@ static unsigned int mysqlnd_mbcharlen_gbk(unsigned int gbk) /* {{{ functions */ #define valid_sjis_head(c) ((0x81 <= (c) && (c) <= 0x9F) || (0xE0 <= (c) && (c) <= 0xFC)) -#define valid_sjis_tail(c) ((0x40 <= (c) && (c) <= 0x7E) || (0x80 <= (c) && (c) <= 0x7C)) +#define valid_sjis_tail(c) ((0x40 <= (c) && (c) <= 0x7E) || (0x80 <= (c) && (c) <= 0xFC)) static unsigned int check_mb_sjis(const char *start, const char *end) |
