From 61f9f5a937a9e599663ea70f81ade8bce35dcea6 Mon Sep 17 00:00:00 2001
From: Sutou Kouhei <kou@clear-code.com>
Date: Wed, 29 May 2019 16:48:10 +0900
Subject: [PATCH 1/3] Add a missing cast

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
---
 lib/plugin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/plugin.c b/lib/plugin.c
index 01f116778..321fc2982 100644
--- a/lib/plugin.c
+++ b/lib/plugin.c
@@ -440,7 +440,7 @@ grn_plugin_open(grn_ctx *ctx, const char *filename)
   } else {
     const char *label;
     label = grn_dl_open_error_label();
-    SERR("%s: <%.*s>", label, filename_size, filename);
+    SERR("%s: <%.*s>", label, (int)filename_size, filename);
   }
 
 exit:
-- 
2.20.1

