diff options
-rw-r--r-- | project2/ice/unittests/conversions.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/project2/ice/unittests/conversions.cpp b/project2/ice/unittests/conversions.cpp index 546e922..2758c2b 100644 --- a/project2/ice/unittests/conversions.cpp +++ b/project2/ice/unittests/conversions.cpp @@ -22,9 +22,9 @@ namespace Slicer { pt.date().year(), pt.date().month(), pt.date().day(), - pt.time_of_day().hours(), - pt.time_of_day().minutes(), - pt.time_of_day().seconds() }; + (Ice::Int)pt.time_of_day().hours(), + (Ice::Int)pt.time_of_day().minutes(), + (Ice::Int)pt.time_of_day().seconds() }; } } |