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/smf_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/smf_test.cpp') diff --git a/test/smf_test.cpp b/test/smf_test.cpp index 9ff27f5..e848f15 100644 --- a/test/smf_test.cpp +++ b/test/smf_test.cpp @@ -55,7 +55,7 @@ main(int argc, char** argv) cout << ":\t"; cout.flags(ios::hex); for (uint32_t i=0; i < ev_size; ++i) { - cout << "0x" << (int)buf[i] << " "; + cout << "0x" << static_cast(buf[i]) << " "; } cout.flags(ios::dec); cout << endl; -- cgit v1.2.1