]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - bits/utmp.h
login: Use unsigned 32-bit types for seconds-since-epoch
[thirdparty/glibc.git] / bits / utmp.h
index f2d1c13d8cd205b2da9aacfaf75f50faa39f8c38..27cb536800c46d67c0627dddb66db4ad737d356f 100644 (file)
@@ -36,7 +36,7 @@
 struct lastlog
   {
 #if __WORDSIZE_TIME64_COMPAT32
-    int32_t ll_time;
+    __uint32_t ll_time;
 #else
     __time_t ll_time;
 #endif
@@ -76,7 +76,7 @@ struct utmp
   int32_t ut_session;          /* Session ID, used for windowing.  */
   struct
   {
-    int32_t tv_sec;            /* Seconds.  */
+    __uint32_t tv_sec;         /* Seconds.  */
     int32_t tv_usec;           /* Microseconds.  */
   } ut_tv;                     /* Time entry was made.  */
 #else