aboutsummaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
Diffstat (limited to 'src/base')
-rw-r--r--src/base/UMusic.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/UMusic.pas b/src/base/UMusic.pas
index 41d6e80c..ff0fad04 100644
--- a/src/base/UMusic.pas
+++ b/src/base/UMusic.pas
@@ -1006,7 +1006,7 @@ begin
Sample[0] := Value;
Sample[1] := Value;
// increase to next frame
- Inc(Buffer, FrameSize);
+ Inc(PByte(Buffer), FrameSize);
end;
end;