13
0

fix incorrect use of int32_t for current position in file while writing to non-destructive sndfilesources

This commit is contained in:
Paul Davis 2015-02-22 11:10:25 -05:00
parent bf1d12708d
commit b40a305b5a

View File

@ -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;