diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-16 03:09:53 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-16 03:09:53 +0000 |
commit | dc1e6f17baafa4da77202e48803bd6e507e83b7d (patch) | |
tree | 713f0f3e473f0f15c2b0d24c02729f2bfb27e0cc /string.c | |
parent | 840d0dc180d297e5cdc53159c51149073e35fd6d (diff) |
sizeof(uintptr_t) != sizeof(uintptr_t *)
Reported by mame. Thanks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -483,7 +483,7 @@ search_nonascii(const char *p, const char *e) #endif #ifdef HAVE_BUILTIN___BUILTIN_ASSUME_ALIGNED #define aligned_ptr(value) \ - __builtin_assume_aligned((value), sizeof(uintptr_t *)) + __builtin_assume_aligned((value), sizeof(uintptr_t)) #else #define aligned_ptr(value) (uintptr_t *)(value) #endif |