ogl_beamforming

Ultrasound Beamforming Implemented with OpenGL
git clone anongit@rnpnr.xyz:ogl_beamforming.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

Commit: ec81add91472dbd4a4c5bcbcc448cb88584f8163
Parent: 932fe957144dc75d44bcb6efcb2ac7be08e95f26
Author: Randy Palamar
Date:   Fri, 18 Jul 2025 07:11:24 -0600

build: fix w32 integer sign conversion warnings/errors

Diffstat:
Mbuild.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.c b/build.c @@ -341,7 +341,7 @@ os_spawn_process(CommandList *cmd, Stream sb) } w32_process_info = {0}; /* TODO(rnp): warn if we need to clamp last string */ - sb.widx = MIN(sb.widx, KB(32) - 1); + sb.widx = MIN(sb.widx, (i32)(KB(32) - 1)); if (sb.widx < sb.cap) sb.data[sb.widx] = 0; else sb.data[sb.widx - 1] = 0; @@ -358,7 +358,7 @@ os_spawn_process(CommandList *cmd, Stream sb) function b32 os_wait_close_process(iptr handle) { - b32 result = WaitForSingleObject(handle, -1) != 0xFFFFFFFFUL; + b32 result = WaitForSingleObject(handle, (u32)-1) != 0xFFFFFFFFUL; if (result) { u32 status; GetExitCodeProcess(handle, &status);