]> granicus.if.org Git - php/commitdiff
Fix signature of callback function
authorChristoph M. Becker <cmbecker69@gmx.de>
Mon, 10 Aug 2020 17:42:05 +0000 (19:42 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Mon, 10 Aug 2020 21:26:54 +0000 (23:26 +0200)
Cf. <https://docs.microsoft.com/en-us/windows/win32/api/imagehlp/nc-imagehlp-pimagehlp_status_routine>.

win32/build/deplister.c

index f211f8add9cef82c79a05034e9b12332194ef891..1a53056219bd1a58fc29d8f0e520a318770258b1 100644 (file)
@@ -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: