From 6f0fa71bd3c2454960e0033d60e2824d4afdeb48 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 22 Feb 2015 11:10:25 -0500 Subject: [PATCH] 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(-) diff --git a/libs/ardour/sndfilesource.cc b/libs/ardour/sndfilesource.cc index 58fbab233b..618cfac783 100644 --- a/libs/ardour/sndfilesource.cc +++ b/libs/ardour/sndfilesource.cc @@ -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;