From f2875087727cac52d8db02e789afdbf2728abbd1 Mon Sep 17 00:00:00 2001 From: Marcos Slomp Date: Thu, 11 Jun 2026 13:28:32 -0700 Subject: [PATCH] addressing type conversion warning --- public/tracy/TracyWebGPU.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/tracy/TracyWebGPU.hpp b/public/tracy/TracyWebGPU.hpp index 2936b216..33a11891 100644 --- a/public/tracy/TracyWebGPU.hpp +++ b/public/tracy/TracyWebGPU.hpp @@ -454,8 +454,8 @@ namespace tracy void ApplyToDeviceDescriptor(WGPUDeviceDescriptor& deviceDescriptor) { - uint32_t userCount = deviceDescriptor.requiredFeatureCount; - uint32_t totalCount = userCount + NumFeatures; + size_t userCount = deviceDescriptor.requiredFeatureCount; + size_t totalCount = userCount + NumFeatures; // NOTE: this allocation will leak... auto* mergedFeatures = static_cast(tracy_malloc(totalCount * sizeof(WGPUFeatureName))); if (userCount > 0 && deviceDescriptor.requiredFeatures)