On Thu, Mar 07, 2024 at 08:53:49PM +, Bruce Richardson wrote:
> On Thu, Mar 07, 2024 at 10:34:42AM -0800, Tyler Retzlaff wrote:
> > * Initialize const int NS_PER_SEC with an integer literal instead of
> > double thereby avoiding implicit conversion from double to int.
> >
> > * Cast the resu
On Thu, Mar 07, 2024 at 10:34:42AM -0800, Tyler Retzlaff wrote:
> * Initialize const int NS_PER_SEC with an integer literal instead of
> double thereby avoiding implicit conversion from double to int.
>
> * Cast the result of the expression assigned to timespec.tv_nsec to long.
>
> Signed-off-b
* Initialize const int NS_PER_SEC with an integer literal instead of
double thereby avoiding implicit conversion from double to int.
* Cast the result of the expression assigned to timespec.tv_nsec to long.
Signed-off-by: Tyler Retzlaff
Acked-by: Dmitry Kozlyuk
---
v2:
* update commit mess
3 matches
Mail list logo