mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
possible fix for bug on ARM archs (reported by Ralfk)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5323 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
219c5db3c9
commit
d06780744e
@ -807,9 +807,9 @@ bool PGPHandler::decryptTextFromFile(const PGPIdType&,std::string& text,const st
|
||||
return false;
|
||||
}
|
||||
|
||||
char c ;
|
||||
while( (c = getc(f))!= EOF)
|
||||
buf += c;
|
||||
int c ;
|
||||
while( (c = fgetc(f))!= EOF)
|
||||
buf += (unsigned char)c;
|
||||
|
||||
fclose(f) ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user