diff options
author | David Robillard <d@drobilla.net> | 2010-02-05 21:19:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-02-05 21:19:56 +0000 |
commit | b8f87a5b55387ad7b698742dcfcc1bc93538a053 (patch) | |
tree | 548fee2a6726a26f7592b9715b260be1bc4fe58c /test/smf_test.cpp | |
parent | cd70cc69937afca55dcdae75578bcdd23605eb64 (diff) | |
download | raul-b8f87a5b55387ad7b698742dcfcc1bc93538a053.tar.gz raul-b8f87a5b55387ad7b698742dcfcc1bc93538a053.tar.bz2 raul-b8f87a5b55387ad7b698742dcfcc1bc93538a053.zip |
Convert C-style casts to C++ style casts.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@2432 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test/smf_test.cpp')
-rw-r--r-- | test/smf_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<int>(buf[i]) << " "; } cout.flags(ios::dec); cout << endl; |