summaryrefslogtreecommitdiffstats
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
parent93343725b5fa1cf580a24302455980faacae8ee2 (diff)
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.
-rw-r--r--src/if_ole.cpp2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
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))
diff --git a/src/version.c b/src/version.c
index 88d3b7e8b2..1f94b015f3 100644
--- a/src/version.c
+++ b/src/version.c
@@ -790,6 +790,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 178,
+/**/
177,
/**/
176,