summaryrefslogtreecommitdiff
path: root/plugins/Utils.pas/playlist.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Utils.pas/playlist.pas')
-rw-r--r--plugins/Utils.pas/playlist.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Utils.pas/playlist.pas b/plugins/Utils.pas/playlist.pas
index fc3199dcfc..12c7cbcf05 100644
--- a/plugins/Utils.pas/playlist.pas
+++ b/plugins/Utils.pas/playlist.pas
@@ -353,7 +353,7 @@ procedure tPlaylist.SetTrackNumber(value:integer);
begin
if value<0 then
value:=0
- else if value>=Integer(plSize) then
+ else if value>=integer(plSize) then
value:=plSize-1;
if fShuffle then