From b8f87a5b55387ad7b698742dcfcc1bc93538a053 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 5 Feb 2010 21:19:56 +0000 Subject: Convert C-style casts to C++ style casts. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@2432 a436a847-0d15-0410-975c-d299462d15a1 --- test/time_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/time_test.cpp') diff --git a/test/time_test.cpp b/test/time_test.cpp index a7479be..b48e3f1 100644 --- a/test/time_test.cpp +++ b/test/time_test.cpp @@ -14,8 +14,8 @@ main() double in_double = 2.5; - TimeStamp t(unit, (uint32_t)in_double, - (uint32_t)((in_double - (uint32_t)in_double) * unit.ppt())); + TimeStamp t(unit, static_cast(in_double), + static_cast((in_double - static_cast(in_double)) * unit.ppt())); cout << "\tSeconds: "; cout << ts.beats_to_seconds(t); -- cgit v1.2.1