diff --git a/src/arch/Sound/DSoundHelpers.cpp b/src/arch/Sound/DSoundHelpers.cpp index c3fd8fcd44..e60c32136c 100644 --- a/src/arch/Sound/DSoundHelpers.cpp +++ b/src/arch/Sound/DSoundHelpers.cpp @@ -207,7 +207,7 @@ RString DSoundBuf::Init( DSound &ds, DSoundBuf::hw hardware, m_iExtraWriteahead = 0; m_iLastPosition = 0; m_bPlaying = false; - ZERO( m_iLastCursors ); + memset( &(m_iLastCursors), 0, sizeof(m_iLastCursors) ); /* The size of the actual DSound buffer. This can be large; we generally * won't fill it completely. */