forked from pool/virtualbox
This commit is contained in:
parent
6a85e10633
commit
147d5e0bbb
@ -11,6 +11,15 @@ Index: VirtualBox-5.2.12/src/VBox/Additions/linux/sharedfolders/utils.c
|
|||||||
{
|
{
|
||||||
int64_t t = RTTimeSpecGetNano(ts);
|
int64_t t = RTTimeSpecGetNano(ts);
|
||||||
int64_t nsec;
|
int64_t nsec;
|
||||||
|
@@ -60,7 +60,7 @@ static void sf_ftime_from_timespec(struc
|
||||||
|
tv->tv_nsec = nsec;
|
||||||
|
}
|
||||||
|
|
||||||
|
-static void sf_timespec_from_ftime(RTTIMESPEC *ts, struct timespec *tv)
|
||||||
|
+static void sf_timespec_from_ftime(RTTIMESPEC *ts, struct timespec64 *tv)
|
||||||
|
{
|
||||||
|
int64_t t = (int64_t)tv->tv_nsec + (int64_t)tv->tv_sec * 1000000000;
|
||||||
|
RTTimeSpecSetNano(ts, t);
|
||||||
Index: VirtualBox-5.2.12/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
|
Index: VirtualBox-5.2.12/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-5.2.12.orig/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
|
--- VirtualBox-5.2.12.orig/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
|
||||||
|
Loading…
Reference in New Issue
Block a user