mirror of
https://github.com/mist64/perfect6502.git
synced 2024-06-02 17:41:32 +00:00
Avoid use of deprecated function
This commit is contained in:
parent
aed0d9a3c3
commit
ed250b1a62
|
@ -130,7 +130,7 @@ typedef struct {
|
||||||
static inline void
|
static inline void
|
||||||
bitmap_clear(bitmap_t *bitmap, count_t count)
|
bitmap_clear(bitmap_t *bitmap, count_t count)
|
||||||
{
|
{
|
||||||
bzero(bitmap, WORDS_FOR_BITS(count)*sizeof(bitmap_t));
|
memset(bitmap, 0, WORDS_FOR_BITS(count)*sizeof(bitmap_t));
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
|
|
Loading…
Reference in New Issue
Block a user