[Groonga-commit] groonga/groonga at 03f250b [master] Use GRN_FMT_INT64D for off64_t

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 30 19:40:47 JST 2014


Kouhei Sutou	2014-10-30 19:40:47 +0900 (Thu, 30 Oct 2014)

  New Revision: 03f250be4f94e95b82cdb7d8d0538b076a966efa
  https://github.com/groonga/groonga/commit/03f250be4f94e95b82cdb7d8d0538b076a966efa

  Message:
    Use GRN_FMT_INT64D for off64_t

  Modified files:
    lib/ii.c

  Modified: lib/ii.c (+3 -2)
===================================================================
--- lib/ii.c    2014-10-30 19:23:12 +0900 (3a4e576)
+++ lib/ii.c    2014-10-30 19:40:47 +0900 (dffa405)
@@ -6870,7 +6870,8 @@ grn_ii_buffer_fetch(grn_ctx *ctx, grn_ii_buffer *ii_buffer,
       if (block->head >= block->tail) {
         if (block->head > block->tail) {
           GRN_LOG(ctx, GRN_LOG_WARNING,
-                  "fetch error: %jd > %jd", block->head, block->tail);
+                  "fetch error: %" GRN_FMT_INT64D " > %" GRN_FMT_INT64D,
+                  block->head, block->tail);
         }
         block->rest = block->nextsize;
         block->nextsize = 0;
@@ -7287,7 +7288,7 @@ grn_ii_buffer_commit(grn_ctx *ctx, grn_ii_buffer *ii_buffer)
   }
   datavec_fin(ctx, ii_buffer->data_vectors);
   GRN_LOG(ctx, GRN_LOG_NOTICE,
-          "tmpfile_size:%jd > total_chunk_size:%" GRN_FMT_SIZE,
+          "tmpfile_size:%" GRN_FMT_INT64D " > total_chunk_size:%" GRN_FMT_SIZE,
           ii_buffer->filepos, ii_buffer->total_chunk_size);
   GRN_CLOSE(ii_buffer->tmpfd);
   unlink(ii_buffer->tmpfpath);
-------------- next part --------------
HTML����������������������������...
Download 



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