|
@@ -338,14 +338,14 @@ void NSAKlient::thread()
|
|
if( 1 )
|
|
if( 1 )
|
|
{
|
|
{
|
|
klient->sendeEncrypted( "\1", 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 ];
|
|
char *n = new char[ nLen + 1 ];
|
|
n[ (int)nLen ] = 0;
|
|
n[ (int)nLen ] = 0;
|
|
if( nLen )
|
|
if( nLen )
|
|
klient->getNachrichtEncrypted( n, 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 ];
|
|
char *p = new char[ pLen + 1 ];
|
|
p[ (int)pLen ] = 0;
|
|
p[ (int)pLen ] = 0;
|
|
if( pLen )
|
|
if( pLen )
|
|
@@ -693,8 +693,8 @@ void NSKlient::thread()
|
|
if( klientNummer )
|
|
if( klientNummer )
|
|
{
|
|
{
|
|
klient->sendeEncrypted( "\1", 1 );
|
|
klient->sendeEncrypted( "\1", 1 );
|
|
- char len = 0;
|
|
|
|
- klient->getNachrichtEncrypted( &len, 1 );
|
|
|
|
|
|
+ unsigned char len = 0;
|
|
|
|
+ klient->getNachrichtEncrypted( (char*)&len, 1 );
|
|
char *n = new char[ len + 1 ];
|
|
char *n = new char[ len + 1 ];
|
|
n[ (int)len ] = 0;
|
|
n[ (int)len ] = 0;
|
|
klient->getNachrichtEncrypted( n, len );
|
|
klient->getNachrichtEncrypted( n, len );
|