summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);