mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* string.c (NONASCII_MASK): NONASCII_MASK must be unsigned.
[ruby-dev:41782] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
78a78b45d6
commit
4f7b82475a
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Jul 6 00:29:27 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* string.c (NONASCII_MASK): NONASCII_MASK must be unsigned.
|
||||
[ruby-dev:41782]
|
||||
|
||||
Mon Jul 5 16:05:39 2010 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* vm_method.c (rb_method_boundp): Return false for protected
|
||||
|
|
2
string.c
2
string.c
|
@ -141,7 +141,7 @@ static inline const char *
|
|||
search_nonascii(const char *p, const char *e)
|
||||
{
|
||||
#if SIZEOF_VALUE == 8
|
||||
# define NONASCII_MASK 0x8080808080808080LL
|
||||
# define NONASCII_MASK 0x8080808080808080ULL
|
||||
#elif SIZEOF_VALUE == 4
|
||||
# define NONASCII_MASK 0x80808080UL
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue