From d28dab7658773078d5d57df985209027f3ab2bbb Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Wed, 13 Feb 2019 12:15:14 +0100 Subject: Fix compilation on old gcc --- sql/my_json_writer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/my_json_writer.h') diff --git a/sql/my_json_writer.h b/sql/my_json_writer.h index 4701cb4165b..3234c748f5d 100644 --- a/sql/my_json_writer.h +++ b/sql/my_json_writer.h @@ -111,7 +111,7 @@ class String_with_limit { public: - String_with_limit() : size_limit(SIZE_MAX), truncated_len(0) + String_with_limit() : size_limit(SIZE_T_MAX), truncated_len(0) { str.length(0); } -- cgit v1.2.1