dplayx: Fix static overrun of pDP array in test (Coverity).

This commit is contained in:
Ismael Barros 2008-09-11 20:50:58 +02:00 committed by Alexandre Julliard
parent 6e726e2a91
commit 7dddf097a8
1 changed files with 1 additions and 2 deletions

View File

@ -4280,9 +4280,8 @@ static void test_EnumGroupsInGroup(void)
checkHR( DP_OK, hr ); checkHR( DP_OK, hr );
/* - Open session */ /* - Open session */
callbackData.pDP = pDP[1];
hr = IDirectPlayX_EnumSessions( pDP[1], &dpsd[0], 0, EnumSessions_cb_join, hr = IDirectPlayX_EnumSessions( pDP[1], &dpsd[0], 0, EnumSessions_cb_join,
(LPVOID) &callbackData, 0 ); (LPVOID) pDP[1], 0 );
checkHR( DP_OK, hr ); checkHR( DP_OK, hr );