Changeset 3815

Show
Ignore:
Timestamp:
09/07/06 12:54:38 (8 years ago)
Author:
ucacsva
Message:

Minor Linux tweaks to eliminate warnings.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vic/trunk/render/ppm.cpp

    r3814 r3815  
    121121                        } 
    122122                        if (dump(Ch) < 0) { 
    123                                 sprintf(TCLresult, "ppm.cpp: Can't dump overlay image file %s into channel %d\n", (char*)argv[2], Ch); 
     123                                sprintf(TCLresult, "ppm.cpp: Can't dump overlay image file %s into channel %d\n", (char*)argv[2], (int)Ch); 
    124124                                tcl.result(TCLresult); 
    125125                                return (TCL_ERROR); 
     
    176176int PPM::load(Tcl_Channel tclChannel) 
    177177{ 
    178         Tcl& tcl = Tcl::instance(); 
     178        //Tcl& tcl = Tcl::instance(); 
    179179 
    180180        int maxval;