Skip to content

swap time_t to uint64_t to support 32-bit architectures - #78

Merged
brichards64 merged 4 commits into
ToolDAQ:mainfrom
marc1uk:tsfix
Aug 28, 2026
Merged

swap time_t to uint64_t to support 32-bit architectures#78
brichards64 merged 4 commits into
ToolDAQ:mainfrom
marc1uk:tsfix

Conversation

@marc1uk

@marc1uk marc1uk commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

No description provided.

luigi-lavitola and others added 4 commits August 26, 2026 17:50
…stamp

time_t ts = time(nullptr)*1000 overflows on platforms with a 32-bit time_t
(e.g. armhf), landing the timestamp in January 1970 instead of now. Widen
ts to uint64_t (matching LogMsg/MonitoringMsg's own field type) and compute
the fallback via std::chrono, which isn't tied to time_t's width.
…ne, bug was a stale lib/libToolDAQ.so in m-pmt-daq-interface, not this function
@brichards64
brichards64 merged commit 06e0be7 into ToolDAQ:main Aug 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants