diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-11-05 16:23:25 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-11-05 16:23:25 +0000 |
commit | 5fb49e66d5d42b57f2e4e40097f445a56d558f04 (patch) | |
tree | c916f68fe8eb406ef5957a7cdd9518560bd4ce98 | |
parent | Slicer 1.7 compatibility (diff) | |
download | project2-5fb49e66d5d42b57f2e4e40097f445a56d558f04.tar.bz2 project2-5fb49e66d5d42b57f2e4e40097f445a56d558f04.tar.xz project2-5fb49e66d5d42b57f2e4e40097f445a56d558f04.zip |
Fix narrowing warning
-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() }; } } |