Kolja Strohm 6 năm trước cách đây
mục cha
commit
fadeeb8fce
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      EditorServer/SSEditor.cpp

+ 1 - 1
EditorServer/SSEditor.cpp

@@ -332,7 +332,7 @@ bool SSEditor::prozessMessage( SKlient *zKlient )
         dName[ (int)len ] = 0;
         if( len )
             zKlient->getNachrichtEncrypted( dName, len );
-        zKlient->getNachrichtEncrypted( &len, 1 );
+        zKlient->getNachrichtEncrypted( (char*)&len, 1 );
         char *bName = new char[ len + 1 ];
         bName[ (int)len ] = 0;
         if( len )