time: Prevent 32 bit overflow with set_normalized_timespec()
[deliverable/linux.git] / include / linux / time.h
index 256232f7e5e6e3022f9d66b3e228b6aa6d9e8910..56787c0933456c560bc98e860da4a989e8437f18 100644 (file)
@@ -75,7 +75,7 @@ extern unsigned long mktime(const unsigned int year, const unsigned int mon,
                            const unsigned int day, const unsigned int hour,
                            const unsigned int min, const unsigned int sec);
 
-extern void set_normalized_timespec(struct timespec *ts, time_t sec, long nsec);
+extern void set_normalized_timespec(struct timespec *ts, time_t sec, s64 nsec);
 extern struct timespec timespec_add_safe(const struct timespec lhs,
                                         const struct timespec rhs);
 
This page took 0.027919 seconds and 5 git commands to generate.