summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2016-06-07 09:49:38 +0000
committerKirill Volinsky <mataes2007@gmail.com>2016-06-07 09:49:38 +0000
commitfeeb51bb1a61ba79ad6fbb4550b11b6e740c46d1 (patch)
treeaa4bdf0f9f70d13035ede65551e7225f6b709370
parent46742a0ac1ff21de3a3e9c49924524b7b5a12bdb (diff)
warnings fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16936 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/BASS_interface/src/Main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/BASS_interface/src/Main.cpp b/plugins/BASS_interface/src/Main.cpp
index 4b7fe540ff..58113605e4 100644
--- a/plugins/BASS_interface/src/Main.cpp
+++ b/plugins/BASS_interface/src/Main.cpp
@@ -498,9 +498,9 @@ void LoadBassLibrary(const TCHAR *ptszPath)
BASS_DEVICEINFO info;
if (!db_get_ts(NULL, ModuleName, OPT_OUTDEVICE, &dbv))
- for (size_t i = 1; BASS_GetDeviceInfo(i, &info); i++)
+ for (size_t i = 1; BASS_GetDeviceInfo((DWORD)i, &info); i++)
if (!mir_tstrcmp(dbv.ptszVal, _A2T(info.name)))
- device = i;
+ device = (int)i;
db_free(&dbv);