projects
/
asdcplib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix warning when passing non-pod object as variadic argument
[asdcplib.git]
/
src
/
KM_tai.cpp
diff --git
a/src/KM_tai.cpp
b/src/KM_tai.cpp
index 4cc6c32b0a1e3ba2bbd20d422a226f53f709d27a..00a1231ea253330fceb8bfc5ba8c8081a73a3b6c 100644
(file)
--- a/
src/KM_tai.cpp
+++ b/
src/KM_tai.cpp
@@
-49,7
+49,11
@@
The libtai source code is in the public domain.
*/
#include <KM_tai.h>
+#ifdef KM_WIN32
+#include <time.h>
+#else
#include <sys/time.h>
+#endif
//
void
@@
-186,6
+190,7
@@
Kumu::TAI::tai::now()
ct.hour = st.wHour;
ct.minute = st.wMinute;
ct.second = st.wSecond;
+ ct.offset = 0;
caltime_tai(&ct, this);
#else
struct timeval now;