]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sockets/client.cpp
Line endings fixes in bakefile-generated files.
[wxWidgets.git] / samples / sockets / client.cpp
index 30d0fa49ab495960761b84043bdb29339d06a2f8..b3389bd4ebe0e0110c5c10ab4aa3ccea2796ad69 100644 (file)
@@ -612,9 +612,9 @@ void MyFrame::OnTestURL(wxCommandEvent& WXUNUSED(event))
     }
 
     // Print the contents type and file size
     }
 
     // Print the contents type and file size
-    wxLogMessage("Contents type: %s\nFile size: %i\nStarting to download...",
+    wxLogMessage("Contents type: %s\nFile size: %lu\nStarting to download...",
                  url.GetProtocol().GetContentType(),
                  url.GetProtocol().GetContentType(),
-                 data->GetSize());
+                 static_cast<unsigned long>( data->GetSize() ));
 
     // Get the data
     wxStringOutputStream sout;
 
     // Get the data
     wxStringOutputStream sout;