|
@@ -706,14 +706,14 @@ void SSAKlient::thread()
|
|
|
if( 1 )
|
|
|
{
|
|
|
klient->sendeEncrypted( "\1", 1 );
|
|
|
- char nLen = 0;
|
|
|
- klient->getNachrichtEncrypted( &nLen, 1 );
|
|
|
+ unsigned char nLen = 0;
|
|
|
+ klient->getNachrichtEncrypted( (char*)&nLen, 1 );
|
|
|
char *n = new char[ nLen + 1 ];
|
|
|
n[ (int)nLen ] = 0;
|
|
|
if( nLen )
|
|
|
klient->getNachrichtEncrypted( n, nLen );
|
|
|
- char pLen = 0;
|
|
|
- klient->getNachrichtEncrypted( &pLen, 1 );
|
|
|
+ unsigned char pLen = 0;
|
|
|
+ klient->getNachrichtEncrypted( (char*)&pLen, 1 );
|
|
|
char *p = new char[ pLen + 1 ];
|
|
|
p[ (int)pLen ] = 0;
|
|
|
if( pLen )
|
|
@@ -1565,8 +1565,8 @@ void SSKlient::thread()
|
|
|
if( zSpiel )
|
|
|
{
|
|
|
empfangen->sendeEncrypted( "\1", 1 );
|
|
|
- char len = 0;
|
|
|
- empfangen->getNachrichtEncrypted( &len, 1 );
|
|
|
+ unsigned char len = 0;
|
|
|
+ empfangen->getNachrichtEncrypted( (char*)&len, 1 );
|
|
|
char *nachricht = new char[ len + 1 ];
|
|
|
nachricht[ (int)len ] = 0;
|
|
|
if( len )
|
|
@@ -1639,7 +1639,7 @@ void SSKlient::thread()
|
|
|
case 0xB: // Spiel Nachricht
|
|
|
if( 1 )
|
|
|
{
|
|
|
- short len = 0;
|
|
|
+ unsigned short len = 0;
|
|
|
empfangen->getNachricht( (char*)&len, 2 );
|
|
|
char *bytes = new char[ len ];
|
|
|
empfangen->getNachricht( bytes, len );
|
|
@@ -1667,7 +1667,7 @@ void SSKlient::thread()
|
|
|
if( 1 )
|
|
|
{
|
|
|
empfangen->sendeEncrypted( "\1", 1 );
|
|
|
- short len = 0;
|
|
|
+ unsigned short len = 0;
|
|
|
empfangen->getNachrichtEncrypted( (char*)&len, 2 );
|
|
|
char *bytes = new char[ len ];
|
|
|
empfangen->getNachrichtEncrypted( bytes, len );
|