mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-19 03:18:15 -04:00
fixed a few bugs (uninitialized memory mostly)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7234 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
2a5854188e
commit
f2380d0926
2 changed files with 12 additions and 4 deletions
|
@ -135,7 +135,8 @@ TEST(libretroshare_serialiser, RsTlvFileData)
|
|||
d1.file.age = 0;
|
||||
d1.file.pop = 0;
|
||||
|
||||
char data[15];
|
||||
unsigned char data[15];
|
||||
RSRandom::random_bytes(data,15) ;
|
||||
d1.binData.setBinData(data, 15);
|
||||
|
||||
d1.file_offset = 222;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue