mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-09 14:52:28 -04:00
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:
parent
4ea523306b
commit
57ba727b6a
4 changed files with 37 additions and 28 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue