From ae76ff45245d16212854e1b2c7e3e53c9dce9073 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 22 May 2017 09:34:39 +0200 Subject: [PATCH] compiler warning on Win64 cast pointer(64)->long(32) --- sql/sql_class.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_class.h b/sql/sql_class.h index 9ae1e5cf23b..db1214ab26b 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -4283,7 +4283,7 @@ public: select_result(thd_arg), suppress_my_ok(false) { DBUG_ENTER("select_result_interceptor::select_result_interceptor"); - DBUG_PRINT("enter", ("this 0x%lx", (ulong) this)); + DBUG_PRINT("enter", ("this %p", this)); DBUG_VOID_RETURN; } /* Remove gcc warning */ uint field_count(List &fields) const { return 0; }