diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-04-12 13:36:27 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-04-12 21:43:16 +0200 |
commit | d033a7c71efcb1c25505ba21d1d7f8979f550431 (patch) | |
tree | 91dc631cf3b1bf0ca326c4f5a6618bd66bbb3403 /client/threads.cpp | |
parent | ee035787effaa86d16632b142897aaf3fa29c341 (diff) | |
download | spice-d033a7c71efcb1c25505ba21d1d7f8979f550431.tar.gz spice-d033a7c71efcb1c25505ba21d1d7f8979f550431.tar.xz spice-d033a7c71efcb1c25505ba21d1d7f8979f550431.zip |
Fixed vs2008 warning
Diffstat (limited to 'client/threads.cpp')
-rw-r--r-- | client/threads.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/threads.cpp b/client/threads.cpp index 20774f3a..93e2259c 100644 --- a/client/threads.cpp +++ b/client/threads.cpp @@ -41,7 +41,7 @@ static inline void rel_time(struct timespec& time, uint64_t delta_nano) #ifdef WIN32 struct _timeb now; _ftime_s(&now); - time.tv_sec = now.time; + time.tv_sec = (long)now.time; time.tv_nsec = now.millitm * 1000 * 1000; #else clock_gettime(CLOCK_MONOTONIC, &time); |