summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2002-04-22 22:22:35 +0000
committerMatthew Newhook <matthew@zeroc.com>2002-04-22 22:22:35 +0000
commit2d416003f3de572cac5d0ffac4d4b4f9b19fd16d (patch)
tree12f2d229378a64fcd6fc72a72eedfa6176aada21 /cpp/src
parenttime updates. (diff)
downloadice-2d416003f3de572cac5d0ffac4d4b4f9b19fd16d.tar.bz2
ice-2d416003f3de572cac5d0ffac4d4b4f9b19fd16d.tar.xz
ice-2d416003f3de572cac5d0ffac4d4b4f9b19fd16d.zip
WIN32 updates.
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IceUtil/Time.cpp4
-rw-r--r--cpp/src/IceUtil/iceutil.dsp8
2 files changed, 10 insertions, 2 deletions
diff --git a/cpp/src/IceUtil/Time.cpp b/cpp/src/IceUtil/Time.cpp
index d808796a6d7..4c0e0c12dfe 100644
--- a/cpp/src/IceUtil/Time.cpp
+++ b/cpp/src/IceUtil/Time.cpp
@@ -142,8 +142,8 @@ IceUtil::Time::operator!=(const Time& other) const
IceUtil::Time::operator timeval() const
{
timeval tv;
- tv.tv_sec = _usec / 1000000;
- tv.tv_usec = _usec % 1000000;
+ tv.tv_sec = (long)(_usec / 1000000);
+ tv.tv_usec = (long)(_usec % 1000000);
return tv;
}
diff --git a/cpp/src/IceUtil/iceutil.dsp b/cpp/src/IceUtil/iceutil.dsp
index 4fd833685fd..b4893d0a1ca 100644
--- a/cpp/src/IceUtil/iceutil.dsp
+++ b/cpp/src/IceUtil/iceutil.dsp
@@ -132,6 +132,10 @@ SOURCE=.\Thread.cpp
# End Source File
# Begin Source File
+SOURCE=.\Time.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\Unicode.cpp
# End Source File
# Begin Source File
@@ -204,6 +208,10 @@ SOURCE=..\..\include\IceUtil\Thread.h
# End Source File
# Begin Source File
+SOURCE=..\..\include\IceUtil\Time.h
+# End Source File
+# Begin Source File
+
SOURCE=..\..\include\IceUtil\Unicode.h
# End Source File
# Begin Source File