Skip to content

timespec.h, etc.: Eliminate use of 32-bit for time_t

Joel Sherrill requested to merge joel/rtems:timespec_add_to_32-bit_time into main

Summary

timespec.h, etc.: Eliminate use of 32-bit for time_t

This code had a uint32_t local variable for seconds from a timespec. This was assigning a time_t to a uint32_t and ultimately returning it. This propgated to rtems_timespec_add_to().

Coverity CID 1512527

Closes #5107 (closed).

Merge request reports