# HG changeset patch # User Christian Brabandt # Date 1531342807 -7200 # Node ID 89dd0ad361fb72cf967759a050404bb0ed8eed70 # Parent b4ea70c0eb823babcafb6f5cfd35ec7c9200f272 patch 8.1.0178: warning for passing pointer to non-pointer argument commit https://github.com/vim/vim/commit/e76c4b237d41d0e62ca5d4fc76d1dd163fe222c0 Author: Bram Moolenaar 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. diff --git a/src/if_ole.cpp b/src/if_ole.cpp --- 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 --- 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,