]> git.saurik.com Git - wxWidgets.git/commitdiff
VC6 compilation fix after last change (thanks buildbot)
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Oct 2008 00:32:24 +0000 (00:32 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Oct 2008 00:32:24 +0000 (00:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/sckipc.cpp

index ff7ebbcc2a26fed269ea951baaf7743bf5b2ce7a..50dcb26fef0838d949e31b92c32196eaee48309a 100644 (file)
@@ -680,7 +680,8 @@ void wxTCPEventHandler::Client_OnRequest(wxSocketEvent &event)
     const wxString topic = connection->m_topic;
     wxString item;
 
-    switch ( const int msg = streams->Read8() )
+    const int msg = streams->Read8();
+    switch ( msg )
     {
         case IPC_EXECUTE:
             {