From ecf2e131bd5f17f8ed97c50cfe8dc13623a763d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Mon, 2 Dec 2024 11:04:38 +0200 Subject: [PATCH] MDEV-31174 fixup: clang++-20 -Wnontrivial-memcall --- sql/item_create.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/item_create.h b/sql/item_create.h index 25a75a22163..166e173b3c2 100644 --- a/sql/item_create.h +++ b/sql/item_create.h @@ -304,7 +304,7 @@ class Native_functions_hash: public HASH public: Native_functions_hash() { - bzero(this, sizeof(*this)); + bzero((void*) this, sizeof(*this)); } ~Native_functions_hash() {