1
0
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:
Dr. Fiemost 2017-01-21 14:13:06 +01:00
parent aed0d9a3c3
commit ed250b1a62

View File

@ -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