Commit 7916ca31 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Don't ref NULL ptrs in debug.

parent 24f1219c
......@@ -1001,7 +1001,7 @@ static HRESULT WINAPI IDirectSoundBufferImpl_GetCurrentPosition(
TRACE("(%p,%p,%p)\n",This,playpos,writepos);
if (playpos) *playpos = This->playpos;
if (writepos) *writepos = This->writepos;
TRACE("playpos = %ld, writepos = %ld\n", *playpos, *writepos);
TRACE("playpos = %ld, writepos = %ld\n", playpos?*playpos:0, writepos?*writepos:0);
return DS_OK;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment