fix incorrect use of int32_t for current position in file while writing to non-destructive sndfilesources
This commit is contained in:
parent
bf1d12708d
commit
b40a305b5a
@ -461,7 +461,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…
Reference in New Issue
Block a user