Kolja Strohm 6 years ago
parent
commit
fadeeb8fce
1 changed files with 1 additions and 1 deletions
  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 )