|
From: Luca T. <no...@gi...> - 2026-10-11 10:20:31
|
Branch: refs/heads/master Home: https://github.com/LinuxCNC/linuxcnc Commit: b308b8339709ca0177bab35690b822aca64cc51f https://github.com/LinuxCNC/linuxcnc/commit/b308b8339709ca0177bab35690b822aca64cc51f Author: Luca Toniolo <107...@us...> Date: 2026-10-03 (Sat, 03 Oct 2026) Changed paths: M src/hal/components/sampler_usr.c M src/hal/drivers/mesa-hostmot2/hm2_eth.c M src/hal/utils/halcmd_commands.cc M src/hal/utils/halsh.c M src/hal/utils/meter.c Log Message: ----------- hal: print 64-bit values and pointers without long long casts Use PRId64/PRIu64 for hal_sint/hal_uint values (halsh, halmeter, sampler_usr) and PRIxPTR for the rtapi_intptr_t function pointers in halcmd show funct. The macros pick the right specifier on LP64 and ILP32, so format and argument agree everywhere with no cast. Also fix signedness of the hm2_eth debug time prints (%lld, not %llu). Commit: 49774b45bbbd5892d5f0641580c640d4547632df https://github.com/LinuxCNC/linuxcnc/commit/49774b45bbbd5892d5f0641580c640d4547632df Author: Luca Toniolo <107...@us...> Date: 2026-10-11 (Sun, 11 Oct 2026) Changed paths: M src/hal/components/sampler_usr.c M src/hal/drivers/mesa-hostmot2/hm2_eth.c M src/hal/utils/halcmd_commands.cc M src/hal/utils/halsh.c M src/hal/utils/meter.c Log Message: ----------- Merge pull request #4617 from grandixximo/hal-print-arch-clean hal: print 64-bit values and pointers without long long casts Compare: https://github.com/LinuxCNC/linuxcnc/compare/cd41211f58f5...49774b45bbbd To unsubscribe from these emails, change your notification settings at https://github.com/LinuxCNC/linuxcnc/settings/notifications |