]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/timedelta.cpp
MSVC compatibility fixes
[libs/core.git] / source / time / timedelta.cpp
index 7d3d4bb6d2a2ff706ca898582bc241fb72e1a7e2..81d33894134db889c8018c68ba2c3a74618ff79d 100644 (file)
@@ -12,7 +12,9 @@ using namespace std;
 
 namespace {
 
-void print_part(ostream &out, int64_t &value, int64_t unit, char sep, bool &first)
+using Msp::Time::RawTime;
+
+void print_part(ostream &out, RawTime &value, RawTime unit, char sep, bool &first)
 {
        if(value<unit && first)
                return;
@@ -35,7 +37,7 @@ ostream &operator<<(ostream &out, const TimeDelta &td)
        ostringstream ss;
        ss.fill('0');
 
-       int64_t value=td.raw();
+       RawTime value=td.raw();
 
        if(value<0)
        {