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:
csoler 2012-07-23 21:42:16 +00:00
parent 219c5db3c9
commit d06780744e

View File

@ -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) ;