From c316ad3e2d20393dbdff470f0c15394ae9d2814a Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 11 Jun 2026 13:38:15 +0100 Subject: Fix some warnings caused by CreateFakePointer with small types. --- src/extensible.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/extensible.cpp') diff --git a/src/extensible.cpp b/src/extensible.cpp index 53f80a02e..1fa99b114 100644 --- a/src/extensible.cpp +++ b/src/extensible.cpp @@ -238,7 +238,7 @@ void BoolExtItem::Set(Extensible* container, bool sync) if (container->extype != this->extype) return; - auto ptr = CreateFakePointer(1); + auto ptr = CreateFakePointer(1); SetRaw(container, ptr); if (sync && synced) Sync(container, ptr); @@ -251,7 +251,7 @@ void BoolExtItem::Unset(Extensible* container, bool sync) UnsetRaw(container); if (sync && synced) - Sync(container, CreateFakePointer(0)); + Sync(container, CreateFakePointer(0)); } IntExtItem::IntExtItem(const WeakModulePtr& owner, const std::string& key, ExtensionType exttype, bool sync) -- cgit v1.3.1-10-gc9f91