Update of /cvsroot/mahogany/M/src/util
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9932/src/util

Modified Files:
        upgrade.cpp 
Log Message:
wxFileSize_t fix for latest wx

Index: upgrade.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/util/upgrade.cpp,v
retrieving revision 1.219
retrieving revision 1.220
diff -b -u -2 -r1.219 -r1.220
--- upgrade.cpp 4 Oct 2004 12:30:24 -0000       1.219
+++ upgrade.cpp 29 Oct 2004 02:09:05 -0000      1.220
@@ -3913,5 +3913,6 @@
    wxFile tmpfile(filename, wxFile::read);
    wxChar * buffer = new wxChar [ tmpfile.Length() + 1];
-   if(tmpfile.Read(buffer, tmpfile.Length()) != tmpfile.Length())
+   const wxFileSize_t lenTmp = tmpfile.Length();
+   if(tmpfile.Read(buffer, lenTmp) != lenTmp)
    {
       wxLogError(_("Cannot read configuration info from temporary file\n"



-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to