Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4376/src/gui
Modified Files:
wxComposeView.cpp
Log Message:
fixed signed/unsigned comparison warning related to wxFile changes
Index: wxComposeView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxComposeView.cpp,v
retrieving revision 1.378
retrieving revision 1.379
diff -b -u -2 -r1.378 -r1.379
--- wxComposeView.cpp 16 Nov 2004 00:12:35 -0000 1.378
+++ wxComposeView.cpp 16 Nov 2004 00:15:26 -0000 1.379
@@ -762,6 +762,7 @@
wxString content;
- const size_t len = file.Length();
- if ( file.Read(wxStringBuffer(content, len + 1), len) != len )
+ const wxFileOffset len = file.Length();
+ if ( len == wxInvalidOffset ||
+ file.Read(wxStringBuffer(content, len + 1), len) != len )
{
wxLogError(_("Failed to read attachment data."));
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates