commit d2bce10b59f90f7582ba7dcd653dd64cf36791a5
parent d8296f4ed1b62c089ec03fed5f2c68c5e7bbca3b
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date: Tue, 19 Mar 2024 19:54:09 -0700
Make period unsigned in timesheet struct
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/times.h b/times.h
@@ -17,7 +17,7 @@ struct timesheet;
struct timesheet {
time_t times[4]; /* raw time data */
enum time_flag set; /* which times are set */
- int period; /* period of the times, <0 if not set */
+ unsigned int period; /* period of the times, 0 if not set */
struct timesheet *prev, *next; /* previous and next entry */
};