null+****@clear*****
null+****@clear*****
2012年 5月 20日 (日) 17:11:15 JST
Kouhei Sutou 2012-05-20 17:11:15 +0900 (Sun, 20 May 2012) New Revision: 170b58f7e5f91f57c22aea7a9831bf864a942feb Log: Use uint8 instead of uint8_t Modified files: ha_mroonga.cpp Modified: ha_mroonga.cpp (+4 -4) =================================================================== --- ha_mroonga.cpp 2012-05-20 17:05:22 +0900 (4d9d7e0) +++ ha_mroonga.cpp 2012-05-20 17:11:15 +0900 (9b4e2d6) @@ -9141,18 +9141,18 @@ int ha_mroonga::storage_encode_multiple_column_key(KEY *key_info, break; case TYPE_LONG_LONG_NUMBER: if (decode) - *((uint8_t *)(&long_long_value)) ^= 0x80; + *((uint8 *)(&long_long_value)) ^= 0x80; mrn_byte_order_host_to_network(current_buffer, &long_long_value, data_size); if (!decode) - *((uint8_t *)(current_buffer)) ^= 0x80; + *((uint8 *)(current_buffer)) ^= 0x80; break; case TYPE_NUMBER: if (decode) { Field_num *number_field = (Field_num *)field; if (!number_field->unsigned_flag) { - *((uint8_t *)(current_key)) ^= 0x80; + *((uint8 *)(current_key)) ^= 0x80; } } mrn_byte_order_host_to_network(current_buffer, current_key, data_size); @@ -9160,7 +9160,7 @@ int ha_mroonga::storage_encode_multiple_column_key(KEY *key_info, { Field_num *number_field = (Field_num *)field; if (!number_field->unsigned_flag) { - *((uint8_t *)(current_buffer)) ^= 0x80; + *((uint8 *)(current_buffer)) ^= 0x80; } } break;