Skip to content

Commit e76c4b2

Browse files
committed
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.
1 parent 9334372 commit e76c4b2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/if_ole.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ extern "C" void InitOLE(int *pbDoRestart)
759759
hr = RegisterActiveObject(
760760
app,
761761
MYCLSID,
762-
NULL,
762+
0,
763763
&app_id);
764764

765765
if (FAILED(hr))

src/version.c

+2
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,8 @@ static char *(features[]) =
789789

790790
static int included_patches[] =
791791
{ /* Add new patch number below this line */
792+
/**/
793+
178,
792794
/**/
793795
177,
794796
/**/

0 commit comments

Comments
 (0)