1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00

Fix range

(thanks again nihen)
This commit is contained in:
Andrey Hristov
2011-05-10 07:15:22 +00:00
parent 20f4ea9de8
commit 229bdc7ccb
+1 -1
View File
@@ -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)