rigtorp / ipc-bench

Latency benchmarks of Unix IPC mechanisms
MIT License
556 stars 165 forks source link

Fix format specification #17

Closed sergeyklay closed 3 years ago

sergeyklay commented 3 years ago

As compiler says:

format specifies type 'long' but the argument has type 'int64_t' (aka 'long long')

Found using Clang's -Wformat

rigtorp commented 3 years ago

Thanks, but this fix is incorrect, it only works on macOS. This the correct fix: https://github.com/rigtorp/ipc-bench/commit/332f02e6551fdb34707b6696a4dc3a77c8d77d38