summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-11-05 16:23:25 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2017-11-05 16:23:25 +0000
commit5fb49e66d5d42b57f2e4e40097f445a56d558f04 (patch)
treec916f68fe8eb406ef5957a7cdd9518560bd4ce98
parentSlicer 1.7 compatibility (diff)
downloadproject2-5fb49e66d5d42b57f2e4e40097f445a56d558f04.tar.bz2
project2-5fb49e66d5d42b57f2e4e40097f445a56d558f04.tar.xz
project2-5fb49e66d5d42b57f2e4e40097f445a56d558f04.zip
Fix narrowing warning
-rw-r--r--project2/ice/unittests/conversions.cpp6
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() };
}
}