summaryrefslogtreecommitdiff
path: root/libs/pbd/pathexpand.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-12-05 17:43:15 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2013-12-05 17:43:15 -0500
commita7961f04cf7d74a3cada760908b364b0e4453690 (patch)
tree50211338112b67463fc2233057e77bbf7bc0991d /libs/pbd/pathexpand.cc
parentef2c1ff92fd15de2f7ff4125f8ba698927ce07da (diff)
fix error in mingw version of realpath()
Diffstat (limited to 'libs/pbd/pathexpand.cc')
-rw-r--r--libs/pbd/pathexpand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/pathexpand.cc b/libs/pbd/pathexpand.cc
index 4935297ea0..203bdcd069 100644
--- a/libs/pbd/pathexpand.cc
+++ b/libs/pbd/pathexpand.cc
@@ -71,7 +71,7 @@ realpath (const char *original_path, char resolved_path[_MAX_PATH+1])
rpath = _fullpath (temp, Glib::locale_from_utf8 (original_path).c_str(), _MAX_PATH);
if (0 != rpath) {
- snprintf (resolved_path, _MAX_PATH+1, Glib::locale_to_utf8 (temp).c_str());
+ snprintf (resolved_path, _MAX_PATH+1, "%s", Glib::locale_to_utf8 (temp).c_str());
}
}