TODO: fix build error that worng var casting #6

Merged
dalmurii merged 1 commit from kenter7317/aclspv:master into master 2026-05-25 16:12:25 +00:00
Contributor

fix : fix build error that worng var casting

Enviroment

OS: Windows 11 Education (25H2) x86_64   
Kernel: WIN32_NT 10.0.26200.8457   
CPU: AMD Ryzen 7 8845HS (16) @ 5.10 GHz   
GPU 1: NVIDIA GeForce RTX 4060 Laptop GPU @ 3.10 GHz (7.77 GiB)   
GPU 2: AMD Radeon(TM) Graphics (417.46 MiB)   
Locale: en_US.UTF-8
Compiler:
    gcc.exe (GCC) 15.2.0 / MinGW

Summery

in C90, Format Specifier call "%zu" is not supported, then replace that unsigned long type Format Specifier call "%lu" and cast var c_sz to (unsigned long)

# fix : fix build error that worng var casting ## Enviroment ``` OS: Windows 11 Education (25H2) x86_64 Kernel: WIN32_NT 10.0.26200.8457 CPU: AMD Ryzen 7 8845HS (16) @ 5.10 GHz GPU 1: NVIDIA GeForce RTX 4060 Laptop GPU @ 3.10 GHz (7.77 GiB) GPU 2: AMD Radeon(TM) Graphics (417.46 MiB) Locale: en_US.UTF-8 Compiler: gcc.exe (GCC) 15.2.0 / MinGW ``` ## Summery in C90, Format Specifier call "%zu" is not supported, then replace that unsigned long type Format Specifier call "%lu" and cast var c_sz to (unsigned long)
- implicit conversion error
- implicit conversion error
 - wrong type error

Changes to be committed:
	modified:   lib/util/log.h
	modified:   src/lib/vec.c
kenter7317 changed title from fix : fix build error that worng var casting to TODO: fix build error that worng var casting 2026-05-25 15:55:23 +00:00
Owner

I've watched the whole session with him,. I approve for that reason.

I've watched the whole session with him,. I approve for that reason.
dalmurii merged commit d4844d34e7 into master 2026-05-25 16:12:25 +00:00
Sign in to join this conversation.
No description provided.