summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-08-10 19:42:05 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-08-10 23:26:54 +0200
commit2538e31b58144f01fd314c6ad5642c33a00c8b67 (patch)
tree2ec70b5a37b7931b3f1fb099b6408539639193cd /win32
parent7e87173497772bbeef100683d74becd1d1e35c35 (diff)
downloadphp-git-2538e31b58144f01fd314c6ad5642c33a00c8b67.tar.gz
Fix signature of callback function
Cf. <https://docs.microsoft.com/en-us/windows/win32/api/imagehlp/nc-imagehlp-pimagehlp_status_routine>.
Diffstat (limited to 'win32')
-rw-r--r--win32/build/deplister.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/build/deplister.c b/win32/build/deplister.c
index f211f8add9..1a53056219 100644
--- a/win32/build/deplister.c
+++ b/win32/build/deplister.c
@@ -22,8 +22,8 @@
#include <imagehlp.h>
BOOL CALLBACK StatusRoutine(IMAGEHLP_STATUS_REASON reason,
- PSTR image_name, PSTR dll_name,
- ULONG va, ULONG param)
+ PCSTR image_name, PCSTR dll_name,
+ ULONG_PTR va, ULONG_PTR param)
{
switch (reason) {
case BindImportModuleFailed: