From b40a305b5aaf1b5365d7146f6d097b8b1a1ff357 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 22 Feb 2015 11:10:25 -0500 Subject: fix incorrect use of int32_t for current position in file while writing to non-destructive sndfilesources --- libs/ardour/sndfilesource.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/sndfilesource.cc') diff --git a/libs/ardour/sndfilesource.cc b/libs/ardour/sndfilesource.cc index 6eb42d4b08..b1e5cc1d4c 100644 --- a/libs/ardour/sndfilesource.cc +++ b/libs/ardour/sndfilesource.cc @@ -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; -- cgit v1.2.3