[Groonga-commit] groonga/groonga at 8316f45 [master] Suppress warnings

Back to archive index
Kouhei Sutou null+****@clear*****
Fri May 10 18:52:20 JST 2019


Kouhei Sutou	2019-05-10 18:52:20 +0900 (Fri, 10 May 2019)

  Revision: 8316f454e93f11a464fc3e0e371a6a8d47206f21
  https://github.com/groonga/groonga/commit/8316f454e93f11a464fc3e0e371a6a8d47206f21

  Message:
    Suppress warnings

  Modified files:
    lib/logger.c

  Modified: lib/logger.c (+2 -2)
===================================================================
--- lib/logger.c    2019-05-10 17:11:17 +0900 (9c5fd7afa)
+++ lib/logger.c    2019-05-10 18:52:20 +0900 (816cc0398)
@@ -138,7 +138,7 @@ grn_log_flags_parse(const char *string,
   }
 
   if (string_size < 0) {
-    string_size = strlen(string);
+    string_size = (int)strlen(string);
   }
 
   string_end = string + string_size;
@@ -633,7 +633,7 @@ grn_query_log_flags_parse(const char *string,
   }
 
   if (string_size < 0) {
-    string_size = strlen(string);
+    string_size = (int)strlen(string);
   }
 
   string_end = string + string_size;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190510/9cf369bf/attachment-0001.html>


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