mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-23 13:47:24 +01:00
fix incorrect use of int32_t for current position in file while writing to non-destructive sndfilesources
This commit is contained in:
parent
5305501fe9
commit
6f0fa71bd3
1 changed files with 1 additions and 1 deletions
|
|
@ -463,7 +463,7 @@ SndFileSource::nondestructive_write_unlocked (Sample *data, framecnt_t cnt)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int32_t frame_pos = _length;
|
||||
framepos_t frame_pos = _length;
|
||||
|
||||
if (write_float (data, frame_pos, cnt) != cnt) {
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue