From e76c4b237d41d0e62ca5d4fc76d1dd163fe222c0 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 11 Jul 2018 22:57:54 +0200 Subject: patch 8.1.0178: warning for passing pointer to non-pointer argument Problem: Warning for passing pointer to non-pointer argument. Solution: Use zero instead of NULL. --- src/if_ole.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/if_ole.cpp') diff --git a/src/if_ole.cpp b/src/if_ole.cpp index aaa3868ef6..0888883630 100644 --- a/src/if_ole.cpp +++ b/src/if_ole.cpp @@ -759,7 +759,7 @@ extern "C" void InitOLE(int *pbDoRestart) hr = RegisterActiveObject( app, MYCLSID, - NULL, + 0, &app_id); if (FAILED(hr)) -- cgit v1.2.3