summaryrefslogtreecommitdiff
path: root/src/if_ole.cpp
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-07-11 22:57:54 +0200
committerBram Moolenaar <Bram@vim.org>2018-07-11 22:57:54 +0200
commite76c4b237d41d0e62ca5d4fc76d1dd163fe222c0 (patch)
tree6a0b464e3da9b4fd03ebbb9e4540bd6240176935 /src/if_ole.cpp
parent93343725b5fa1cf580a24302455980faacae8ee2 (diff)
downloadvim-git-e76c4b237d41d0e62ca5d4fc76d1dd163fe222c0.tar.gz
patch 8.1.0178: warning for passing pointer to non-pointer argumentv8.1.0178
Problem: Warning for passing pointer to non-pointer argument. Solution: Use zero instead of NULL.
Diffstat (limited to 'src/if_ole.cpp')
-rw-r--r--src/if_ole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_ole.cpp b/src/if_ole.cpp
index aaa3868ef..088888363 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))