Module: wine Branch: master Commit: a879046f637a69e62f18ff7b1b48643e052ceb2b URL: http://source.winehq.org/git/wine.git/?a=commit;h=a879046f637a69e62f18ff7b1b...
Author: Francois Gouget fgouget@free.fr Date: Tue Aug 24 10:04:01 2010 +0200
shell32/tests: Remove unneeded NULL pointer casts.
---
dlls/shell32/tests/shlfolder.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c index 3fae215..dd58b09 100644 --- a/dlls/shell32/tests/shlfolder.c +++ b/dlls/shell32/tests/shlfolder.c @@ -2901,8 +2901,8 @@ static void test_SHGetItemFromObject(void) if(0) { /* Crashes with Windows 7 */ - hres = pSHGetItemFromObject((IUnknown*)psfdesktop, &IID_IUnknown, (void**)NULL); - hres = pSHGetItemFromObject(NULL, &IID_IUnknown, (void**)NULL); + hres = pSHGetItemFromObject((IUnknown*)psfdesktop, &IID_IUnknown, NULL); + hres = pSHGetItemFromObject(NULL, &IID_IUnknown, NULL); hres = pSHGetItemFromObject((IUnknown*)psfdesktop, NULL, (void**)&punk); }