Commit 2d44055d authored by Federico Vaga's avatar Federico Vaga

lib: fix constant size

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent dc89bcb1
......@@ -41,7 +41,7 @@ uint64_t fmctdc_ts_ps(struct fmctdc_time *a)
{
uint64_t ps = 0;
ps += a->seconds * 1000000000000;
ps += a->seconds * 1000000000000ULL;
ps += a->coarse * 8000;
ps += a->frac * 8000ULL / 4096ULL;
return ps;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment