From 7a29b065558ad7d09ea68a7f9b7dea8a6cf7bd20 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 26 Jan 2005 20:40:49 +0000 Subject: [PATCH] Remove unneeded NULL cast. --- dlls/dmscript/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dmscript/script.c b/dlls/dmscript/script.c index 5515f039031..2abcf7e7405 100644 --- a/dlls/dmscript/script.c +++ b/dlls/dmscript/script.c @@ -684,7 +684,7 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicScriptImpl (LPCGUID lpcGUID, LPVOID* ppob obj = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IDirectMusicScriptImpl)); if (NULL == obj) { - *ppobj = (LPVOID) NULL; + *ppobj = NULL; return E_OUTOFMEMORY; } obj->UnknownVtbl = &DirectMusicScript_Unknown_Vtbl;