summaryrefslogtreecommitdiff
path: root/src/lib/exceptions.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-10 16:38:33 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-12 09:13:51 +0100
commitb1dc9c3a2f7e55c9afc5bf2d5b465371b048e14f (patch)
tree9968238c6c0511f044e6fcdb4abcc08b5eb28f27 /src/lib/exceptions.cc
parent4a0ae92e28d7d1f0dd648d1b620efc324fdef161 (diff)
Remove all use of stringstream in an attempt to fix
the suspected thread-unsafe crash bugs on OS X.
Diffstat (limited to 'src/lib/exceptions.cc')
-rw-r--r--src/lib/exceptions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/exceptions.cc b/src/lib/exceptions.cc
index b8144d2ed..f07354ca1 100644
--- a/src/lib/exceptions.cc
+++ b/src/lib/exceptions.cc
@@ -59,7 +59,7 @@ MissingSettingError::MissingSettingError (string s)
}
PixelFormatError::PixelFormatError (string o, AVPixelFormat f)
- : runtime_error (String::compose (_("Cannot handle pixel format %1 during %2"), f, o))
+ : runtime_error (String::compose (_("Cannot handle pixel format %1 during %2"), (int) f, o))
{
}