aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/time32.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/time32.h')
-rw-r--r--include/linux/time32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/time32.h b/include/linux/time32.h
index 0a1f302a1753..cad4c3186002 100644
--- a/include/linux/time32.h
+++ b/include/linux/time32.h
@@ -12,7 +12,7 @@
#include <linux/time64.h>
#include <linux/timex.h>
-#define TIME_T_MAX (time_t)((1UL << ((sizeof(time_t) << 3) - 1)) - 1)
+#define TIME_T_MAX (__kernel_old_time_t)((1UL << ((sizeof(__kernel_old_time_t) << 3) - 1)) - 1)
typedef s32 old_time32_t;