diff src/if_ole.cpp @ 14325:89dd0ad361fb v8.1.0178

patch 8.1.0178: warning for passing pointer to non-pointer argument commit https://github.com/vim/vim/commit/e76c4b237d41d0e62ca5d4fc76d1dd163fe222c0 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 11 22:57:54 2018 +0200 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.
author Christian Brabandt <cb@256bit.org>
date Wed, 11 Jul 2018 23:00:07 +0200
parents 4aead6a9b7a9
children 7fad90423bd2
line wrap: on
line diff
--- 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))