Use memset rather than bzero.
This commit is contained in:
parent
a286cd3074
commit
39e1f318c5
|
@ -261,7 +261,7 @@ BOOL CDROM_Audio_GetTracksInfo(WINE_CDAUDIO* wcda, int parentdev)
|
||||||
#ifdef linux
|
#ifdef linux
|
||||||
entry.cdte_format = CDROM_MSF;
|
entry.cdte_format = CDROM_MSF;
|
||||||
#else
|
#else
|
||||||
bzero((char *)&toc_buffer, sizeof(toc_buffer));
|
memset((char *)&toc_buffer, 0, sizeof(toc_buffer));
|
||||||
entry.address_format = CD_MSF_FORMAT;
|
entry.address_format = CD_MSF_FORMAT;
|
||||||
entry.data_len = sizeof(toc_buffer);
|
entry.data_len = sizeof(toc_buffer);
|
||||||
entry.data = &toc_buffer;
|
entry.data = &toc_buffer;
|
||||||
|
|
Loading…
Reference in New Issue