[Groonga-mysql-commit] mroonga/mroonga at 099e869 [master] Suppress a warning

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Apr 19 22:58:32 JST 2016


Kouhei Sutou	2016-04-19 22:58:32 +0900 (Tue, 19 Apr 2016)

  New Revision: 099e869cc6cda3f0687a60f2290c288d62d16d70
  https://github.com/mroonga/mroonga/commit/099e869cc6cda3f0687a60f2290c288d62d16d70

  Message:
    Suppress a warning

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2016-04-19 22:32:32 +0900 (e7f0f77)
+++ ha_mroonga.cpp    2016-04-19 22:58:32 +0900 (3a7afaf)
@@ -8315,7 +8315,7 @@ grn_rc ha_mroonga::generic_ft_init_ext_prepare_expression_in_boolean_mode(
     char error_message[MRN_MESSAGE_BUFFER_SIZE];
     snprintf(error_message, MRN_MESSAGE_BUFFER_SIZE,
              "failed to parse fulltext search keyword: <%.*s>: <%s>",
-             key->length(), key->ptr(),
+             static_cast<int>(key->length()), key->ptr(),
              info->ctx->errbuf);
     ulong action = THDVAR(ha_thd(), action_on_fulltext_query_error);
     switch (static_cast<mrn_action_on_error>(action)) {
-------------- next part --------------
HTML����������������������������...
다운로드 



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