From d8337ca3c2cc816089cca3a2a93f973d861cfb36 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Thu, 10 Apr 2014 14:47:27 -0400 Subject: [PATCH] compile fix --- openbr/plugins/turk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/plugins/turk.cpp b/openbr/plugins/turk.cpp index 1e99ffa..c40932d 100644 --- a/openbr/plugins/turk.cpp +++ b/openbr/plugins/turk.cpp @@ -17,7 +17,7 @@ static Template unmap(const Template &t, const QString& variable, const float ma i.next(); // Normalize to [minRange,maxRange] float value = i.value().toFloat(&ok)*(maxRange-minRange)/maxVotes - minRange; - if (!ok) qFatal("Failed to expand Turk votes for %s", variable); + if (!ok) qFatal("Failed to expand Turk votes for %s", qPrintable(variable)); if (classify) (value > maxRange-((maxRange-minRange)/2)) ? value = maxRange : value = minRange; else if (consensusOnly && (value != maxRange && value != minRange)) continue; expandedT.file.set(i.key(),value); -- libgit2 0.21.4