[Sumover-dev] [svn commit] r3815 - vic/trunk/render

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Thu Sep 7 12:54:40 BST 2006


Author: ucacsva
Date: Thu Sep  7 12:54:38 2006
New Revision: 3815

Modified:
   vic/trunk/render/ppm.cpp

Log:
Minor Linux tweaks to eliminate warnings.

Modified: vic/trunk/render/ppm.cpp
==============================================================================
--- vic/trunk/render/ppm.cpp	(original)
+++ vic/trunk/render/ppm.cpp	Thu Sep  7 12:54:38 2006
@@ -120,7 +120,7 @@
 				tcl.result("1");
 			}
 			if (dump(Ch) < 0) {
-				sprintf(TCLresult, "ppm.cpp: Can't dump overlay image file %s into channel %d\n", (char*)argv[2], Ch);
+				sprintf(TCLresult, "ppm.cpp: Can't dump overlay image file %s into channel %d\n", (char*)argv[2], (int)Ch);
 				tcl.result(TCLresult);
 				return (TCL_ERROR);
 			} else {
@@ -175,7 +175,7 @@
 
 int PPM::load(Tcl_Channel tclChannel)
 {
-	Tcl& tcl = Tcl::instance();
+	//Tcl& tcl = Tcl::instance();
 
 	int maxval;
 



More information about the Sumover-dev mailing list