[Groonga-mysql-commit] mroonga/mroonga at 09466b2 [master] Fix types

Back to archive index

Kouhei Sutou null+****@clear*****
Fri May 15 19:57:42 JST 2015


Kouhei Sutou	2015-05-15 19:57:42 +0900 (Fri, 15 May 2015)

  New Revision: 09466b2798325e812811c8eff7b1ad2dc4d52ba7
  https://github.com/mroonga/mroonga/commit/09466b2798325e812811c8eff7b1ad2dc4d52ba7

  Message:
    Fix types

  Modified files:
    lib/mrn_multiple_column_key_codec.cpp

  Modified: lib/mrn_multiple_column_key_codec.cpp (+3 -3)
===================================================================
--- lib/mrn_multiple_column_key_codec.cpp    2015-05-15 19:57:11 +0900 (86468b7)
+++ lib/mrn_multiple_column_key_codec.cpp    2015-05-15 19:57:42 +0900 (02f01ba)
@@ -39,9 +39,9 @@
 }
 #define mrn_byte_order_network_to_host(buf, key, size)  \
 {                                                       \
-  uint32 size_ = (uint32_t)(size);                      \
-  uint8 *buf_ = (uint8_t *)(buf);                       \
-  uint8 *key_ = (uint8_t *)(key);                       \
+  uint32 size_ = (uint32)(size);                        \
+  uint8 *buf_ = (uint8 *)(buf);                         \
+  uint8 *key_ = (uint8 *)(key);                         \
   while (size_) { *buf_++ = *key_++; size_--; }         \
 }
 #else /* WORDS_BIGENDIAN */
-------------- next part --------------
HTML����������������������������...
下載 



More information about the Groonga-mysql-commit mailing list
Back to archive index