|
@@ -74,8 +74,8 @@ void Updater::thread()
|
|
|
k->getNachrichtEncrypted( (char*)&anz, 4 );
|
|
|
for( int i = 0; i < anz && !beenden; i++ )
|
|
|
{
|
|
|
- char len = 0;
|
|
|
- k->getNachrichtEncrypted( &len, 1 );
|
|
|
+ unsigned char len = 0;
|
|
|
+ k->getNachrichtEncrypted( (char*)&len, 1 );
|
|
|
if( !len )
|
|
|
continue;
|
|
|
char *pfa = new char[ len + 1 ];
|
|
@@ -129,8 +129,8 @@ void Updater::thread()
|
|
|
if( ret == 3 )
|
|
|
{
|
|
|
ks->karteUpdateEnde();
|
|
|
- char byte = 0;
|
|
|
- k->getNachrichtEncrypted( &byte, 1 );
|
|
|
+ unsigned char byte = 0;
|
|
|
+ k->getNachrichtEncrypted( (char*)&byte, 1 );
|
|
|
char *f = new char[ byte + 1 ];
|
|
|
f[ (int)byte ] = 0;
|
|
|
k->getNachrichtEncrypted( f, byte );
|