mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
Fixed cross-platform bugs.
(1) std::map<> doesn't support .at() on OSX or Windows. (use [] or find()) (2) u_int32_t is invalid on windows. (use uint32_t ) git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@553 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a5621763a8
commit
5913872a77
2 changed files with 3 additions and 3 deletions
|
@ -77,7 +77,7 @@ uint32_t RsQblogSerialiser::sizeItem(RsQblogItem *item)
|
|||
|
||||
/*******************************************************************************/
|
||||
|
||||
bool RsQblogSerialiser::serialiseItem(RsQblogItem* item, void* data, u_int32_t *size)
|
||||
bool RsQblogSerialiser::serialiseItem(RsQblogItem* item, void* data, uint32_t *size)
|
||||
{
|
||||
uint32_t tlvsize = sizeItem(item);
|
||||
uint32_t offset = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue