From 08d4be3149a1c3729c638607a0901beab7ca13f2 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Fri, 21 Aug 2009 02:42:11 +0200 Subject: [PATCH] Fixes for building on 32bit system --- src/lib/lumitime.cpp | 2 +- tests/45controller.tests | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/lumitime.cpp b/src/lib/lumitime.cpp index 29facef22..fb798d476 100644 --- a/src/lib/lumitime.cpp +++ b/src/lib/lumitime.cpp @@ -73,7 +73,7 @@ namespace lumiera { int Time::getHours() const { - return (t_ / (60L * 60 * GAVL_TIME_SCALE)); + return (t_ / (gavl_time_t(60) * 60 * GAVL_TIME_SCALE)); } diff --git a/tests/45controller.tests b/tests/45controller.tests index 6aa5603a4..8e2a25dcf 100644 --- a/tests/45controller.tests +++ b/tests/45controller.tests @@ -45,7 +45,7 @@ END TEST "build argument accepting function" AcceptArgumentTuple_test <