On Wed, 26 Jun 2019, Uri Lublin wrote: [...] > > I'd very much prefer the cast to be in the expression rather than hidden > > in some far away macro. > > Is that true even if the cast is needed in all the expressions > that use this constant ? Yes. That's far from being the case though. I count 8 casts out of 26 instances of NSEC_PER_SEC and its derivatives. Anyway, since there's opposition to the 'no cast' approach I'll send a patch based on INT64_C() instead. -- Francois Gouget <fgouget@xxxxxxxxxxxxxxx> _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel