Author: post
Date: 2012-07-18 13:17:39 +0200 (Wed, 18 Jul 2012)
New Revision: 439

Modified:
   RawSpeed/Camera.cpp
Log:
Fix unix build. Thanks to James C. McPherson.

Modified: RawSpeed/Camera.cpp
===================================================================
--- RawSpeed/Camera.cpp 2012-07-15 16:55:22 UTC (rev 438)
+++ RawSpeed/Camera.cpp 2012-07-18 11:17:39 UTC (rev 439)
@@ -239,7 +239,7 @@
 
   for (uint32 j = 0; j < v.size(); j++) {
 #if defined(__unix__) || defined(__APPLE__) || defined(__MINGW32__)
-    if (EOF == sscanf((v[j].c_str(), "%d", &i))
+    if (EOF == sscanf(v[j].c_str(), "%d", &i))
 #else
     if (EOF == sscanf_s(v[j].c_str(), "%d", &i))
 #endif


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to