null+****@clear*****
null+****@clear*****
2010年 7月 21日 (水) 16:34:04 JST
Kouhei Sutou 2010-07-21 07:34:04 +0000 (Wed, 21 Jul 2010)
New Revision: 51d817e666af6ffee7cf86907bf9e12abb9696a8
Log:
fix a typo.
Modified files:
lib/groonga_in.h
Modified: lib/groonga_in.h (+1 -1)
===================================================================
--- lib/groonga_in.h 2010-07-21 07:24:46 +0000 (48fd5b7)
+++ lib/groonga_in.h 2010-07-21 07:34:04 +0000 (c77efc6)
@@ -489,7 +489,7 @@ grn_str_greater(const uint8_t *ap, uint32_t as, const uint8_t *bp, uint32_t bs)
uint32_t size_ = (uint32_t)size;\
uint8_t *buf_ = (uint8_t *)buf;\
uint8_t *key_ = (uint8_t *)key;\
- if (size) { *buf_++ = 0x80 ^ *key_++; size_--; }\
+ if (size_) { *buf_++ = 0x80 ^ *key_++; size_--; }\
while (size_) { *buf_++ = *key_++; size_--; }\
}
#else /* WORDS_BIGENDIAN */