summaryrefslogtreecommitdiffstats
path: root/test/smf_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/smf_test.cpp')
-rw-r--r--test/smf_test.cpp2
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;