Commit: bdbe67bd0ab4213dbd91ff15733cb633aea6e335 Parent: 1ea96605d02f679311bd3e36b462a28c29de8eb5 Author: Randy Palamar Date: Thu, 11 Sep 2025 11:11:37 -0600 lib: fix w32 build on newer clang Diffstat:
M | helpers/ogl_beamformer_lib.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helpers/ogl_beamformer_lib.c b/helpers/ogl_beamformer_lib.c @@ -53,7 +53,7 @@ os_open_shared_memory_area(char *name) function b32 os_reserve_region_locks(iptr os_context, u32 count) { - local_persist iptr semaphores[BeamformerSharedMemoryLockKind_Count + BeamformerMaxParameterBlockSlots]; + local_persist iptr semaphores[(u32)BeamformerSharedMemoryLockKind_Count + (u32)BeamformerMaxParameterBlockSlots]; w32_shared_memory_context *ctx = (typeof(ctx))os_context; b32 result = count <= BeamformerMaxParameterBlockSlots;