From 0c16a6020743868d44168193609493904a64aeeb Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 21 Dec 2007 10:31:47 +0100 Subject: [PATCH] warning on windows --- sql/set_var.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/set_var.cc b/sql/set_var.cc index 4cb6b836c39..c78df4d8918 100644 --- a/sql/set_var.cc +++ b/sql/set_var.cc @@ -1622,8 +1622,8 @@ void sys_var_thd_ulong::set_default(THD *thd, enum_var_type type) bool not_used; /* We will not come here if option_limits is not set */ global_system_variables.*offset= - getopt_ull_limit_value((ulong) option_limits->def_value, - option_limits, ¬_used); + (ulonglong) getopt_ull_limit_value((ulong) option_limits->def_value, + option_limits, ¬_used); } else thd->variables.*offset= global_system_variables.*offset;