[Groonga-commit] groonga/groonga at b67901b [master] clang: suppress a warning

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jun 11 17:03:50 JST 2013


Kouhei Sutou	2013-06-11 17:03:50 +0900 (Tue, 11 Jun 2013)

  New Revision: b67901b504c6fdbb1f103110af1cf6df863c0449
  https://github.com/groonga/groonga/commit/b67901b504c6fdbb1f103110af1cf6df863c0449

  Message:
    clang: suppress a warning
    
    Use "unsigned int" for length.

  Modified files:
    src/groonga_benchmark.c

  Modified: src/groonga_benchmark.c (+2 -1)
===================================================================
--- src/groonga_benchmark.c    2013-06-11 17:03:09 +0900 (caf2be3)
+++ src/groonga_benchmark.c    2013-06-11 17:03:50 +0900 (6157517)
@@ -845,7 +845,8 @@ static int
 do_command(grn_ctx *ctx, char *command, int type, int task_id)
 {
   char *res;
-  int res_len, flags;
+  unsigned int res_len;
+  int flags;
   grn_obj start_time, end_time;
 
   GRN_TIME_INIT(&start_time, 0);
-------------- next part --------------
HTML����������������������������...
下载 



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