From c8cc2d1dd6a7b61d10b183fc7f3abdf596452154 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 21 Jan 2013 19:42:14 +0000 Subject: tweak for const correctness on apple git-svn-id: svn://localhost/ardour2/branches/3.0@13955 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/rubberband/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs') diff --git a/libs/rubberband/src/main.cpp b/libs/rubberband/src/main.cpp index f6c1a3d69f..4aef2338c5 100644 --- a/libs/rubberband/src/main.cpp +++ b/libs/rubberband/src/main.cpp @@ -43,7 +43,7 @@ using RubberBand::usleep; double tempo_convert(const char *str) { - char *d = strchr((char *)str, ':'); + const char *d = strchr((char *)str, ':'); if (!d || !*d) { double m = atof(str); -- cgit v1.2.3