From dc93ce8dea9136889f96659bbee15f9f265d6389 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Mon, 9 Oct 2017 19:53:27 +0000 Subject: Windows : Fix truncation warnings in sql/ --- sql/parse_file.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/parse_file.cc') diff --git a/sql/parse_file.cc b/sql/parse_file.cc index 0c44f6a9820..2aad3f38761 100644 --- a/sql/parse_file.cc +++ b/sql/parse_file.cc @@ -255,7 +255,7 @@ sql_create_definition_file(const LEX_STRING *dir, const LEX_STRING *file_name, File handler; IO_CACHE file; char path[FN_REFLEN+1]; // +1 to put temporary file name for sure - int path_end; + size_t path_end; File_option *param; DBUG_ENTER("sql_create_definition_file"); DBUG_PRINT("enter", ("Dir: %s, file: %s, base %p", -- cgit v1.2.1