summaryrefslogtreecommitdiffstats
path: root/libkmid/alsaout.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-26 21:28:48 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-07-03 02:57:07 +0200
commit2afebdbe7fd3aee27f3972c78d8f5ff56c0136cf (patch)
tree1051e486f80572eba45d714b840d62d1f5a94ecd /libkmid/alsaout.cc
parent3acd2816bb3a1c274e9690e669c28c2761232cc5 (diff)
downloadtdelibs-2afebdbe7fd3aee27f3972c78d8f5ff56c0136cf.tar.gz
tdelibs-2afebdbe7fd3aee27f3972c78d8f5ff56c0136cf.zip
Fix a number of tdelibs build warnings
(cherry picked from commit 77f4891c222583c8deffc34732ccf325bac9e11b)
Diffstat (limited to 'libkmid/alsaout.cc')
-rw-r--r--libkmid/alsaout.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkmid/alsaout.cc b/libkmid/alsaout.cc
index 73effc2e3..4c7f48f4e 100644
--- a/libkmid/alsaout.cc
+++ b/libkmid/alsaout.cc
@@ -469,7 +469,7 @@ void AlsaOut::seqbuf_clean(void)
void AlsaOut::wait(double ticks)
{
// SEQ_WAIT_TIME(((int)(ticks/convertrate)));
- time=(long int)ticks;
+ time=static_cast<long int>(ticks);
#ifdef MIDIOUTDEBUG
printfdebug("Wait >\t ticks: %g\n",ticks);