]> granicus.if.org Git - vim/commitdiff
patch 8.1.0178: warning for passing pointer to non-pointer argument v8.1.0178
authorBram Moolenaar <Bram@vim.org>
Wed, 11 Jul 2018 20:57:54 +0000 (22:57 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 11 Jul 2018 20:57:54 +0000 (22:57 +0200)
Problem:    Warning for passing pointer to non-pointer argument.
Solution:   Use zero instead of NULL.

src/if_ole.cpp
src/version.c

index aaa3868ef6ca219a2b781b9186beee253fbb7c87..088888363084eb0b52262f33bb6fa640ac590768 100644 (file)
@@ -759,7 +759,7 @@ extern "C" void InitOLE(int *pbDoRestart)
     hr = RegisterActiveObject(
        app,
        MYCLSID,
-       NULL,
+       0,
        &app_id);
 
     if (FAILED(hr))
index 88d3b7e8b242ce5dab0769fddc3830d5940397f2..1f94b015f319bf6977a2f8904bbd9d3e6aa2a68e 100644 (file)
@@ -789,6 +789,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    178,
 /**/
     177,
 /**/