fixed win32-x-g++ compilation

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1595 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2009-09-05 11:59:42 +00:00
parent 4ea523306b
commit 57ba727b6a
4 changed files with 37 additions and 28 deletions

View file

@ -1469,12 +1469,12 @@ bool p3turtle::performLocalHashSearch(const TurtleFileHash& hash,FileInfo& info)
return rsFiles->FileDetails(hash, RS_FILE_HINTS_LOCAL | RS_FILE_HINTS_SPEC_ONLY, info);
}
static std::string printNumber(uint num,bool hex=false)
static std::string printNumber(uint64_t num,bool hex=false)
{
if(hex)
{
char tmp[100] ;
sprintf(tmp,"0x%08x",num) ;
sprintf(tmp,"0x%08lx",num) ;
return std::string(tmp) ;
}
else