@@ -3460,7 +3460,7 @@ void zend_jit_unprotect(void)
3460
3460
if (!VirtualProtect (dasm_buf , dasm_size , new , & old )) {
3461
3461
DWORD err = GetLastError ();
3462
3462
char * msg = php_win32_error_to_msg (err );
3463
- fprintf (stderr , "VirtualProtect() failed [%u ] %s\n" , err , msg );
3463
+ fprintf (stderr , "VirtualProtect() failed [%lu ] %s\n" , err , msg );
3464
3464
php_win32_error_msg_free (msg );
3465
3465
}
3466
3466
}
@@ -3487,7 +3487,7 @@ void zend_jit_protect(void)
3487
3487
if (!VirtualProtect (dasm_buf , dasm_size , PAGE_EXECUTE_READ , & old )) {
3488
3488
DWORD err = GetLastError ();
3489
3489
char * msg = php_win32_error_to_msg (err );
3490
- fprintf (stderr , "VirtualProtect() failed [%u ] %s\n" , err , msg );
3490
+ fprintf (stderr , "VirtualProtect() failed [%lu ] %s\n" , err , msg );
3491
3491
php_win32_error_msg_free (msg );
3492
3492
}
3493
3493
}
@@ -3731,7 +3731,7 @@ void zend_jit_startup(void *buf, size_t size, bool reattached)
3731
3731
if (!VirtualProtect (dasm_buf , dasm_size , PAGE_EXECUTE_READWRITE , & old )) {
3732
3732
DWORD err = GetLastError ();
3733
3733
char * msg = php_win32_error_to_msg (err );
3734
- fprintf (stderr , "VirtualProtect() failed [%u ] %s\n" , err , msg );
3734
+ fprintf (stderr , "VirtualProtect() failed [%lu ] %s\n" , err , msg );
3735
3735
php_win32_error_msg_free (msg );
3736
3736
}
3737
3737
} else {
@@ -3740,7 +3740,7 @@ void zend_jit_startup(void *buf, size_t size, bool reattached)
3740
3740
if (!VirtualProtect (dasm_buf , dasm_size , PAGE_EXECUTE_READ , & old )) {
3741
3741
DWORD err = GetLastError ();
3742
3742
char * msg = php_win32_error_to_msg (err );
3743
- fprintf (stderr , "VirtualProtect() failed [%u ] %s\n" , err , msg );
3743
+ fprintf (stderr , "VirtualProtect() failed [%lu ] %s\n" , err , msg );
3744
3744
php_win32_error_msg_free (msg );
3745
3745
}
3746
3746
}
0 commit comments