Remove all use of stringstream in an attempt to fix
[dcpomatic.git] / src / lib / exceptions.cc
index b8144d2edb3bb338f68f4b5a2f349e642d710bb7..f07354ca109cb953b61e3f4c53e9eaa21870c5cc 100644 (file)
@@ -59,7 +59,7 @@ MissingSettingError::MissingSettingError (string s)
 }
 
 PixelFormatError::PixelFormatError (string o, AVPixelFormat f)
 }
 
 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))
 {
 
 }
 {
 
 }