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/spatial.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/spatial.cc') diff --git a/sql/spatial.cc b/sql/spatial.cc index 8817e82d6c4..357e311543f 100644 --- a/sql/spatial.cc +++ b/sql/spatial.cc @@ -2565,7 +2565,7 @@ uint Gis_multi_polygon::init_from_opresult(String *bin, n_poly++; } bin->write_at_position(np_pos, n_poly); - return opres - opres_orig; + return (uint)(opres - opres_orig); } -- cgit v1.2.1