replace deprecated bzero function by memset.
This commit is contained in:
parent
0e2bc992bf
commit
5133491c2c
7 changed files with 16 additions and 16 deletions
|
|
@ -114,7 +114,7 @@ test_mifare_classic_format (void)
|
|||
};
|
||||
|
||||
MifareClassicBlock empty;
|
||||
bzero (empty, sizeof (empty));
|
||||
memset (empty, 0, sizeof (empty));
|
||||
|
||||
res = mifare_classic_write (tag, 0x3c, data);
|
||||
cut_assert_equal_int (0, res, cut_message ("mifare_classic_write() failed"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue