@@ -3460,7 +3460,7 @@ void zend_jit_unprotect(void)
34603460 if (!VirtualProtect (dasm_buf , dasm_size , new , & old )) {
34613461 DWORD err = GetLastError ();
34623462 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 );
34643464 php_win32_error_msg_free (msg );
34653465 }
34663466 }
@@ -3487,7 +3487,7 @@ void zend_jit_protect(void)
34873487 if (!VirtualProtect (dasm_buf , dasm_size , PAGE_EXECUTE_READ , & old )) {
34883488 DWORD err = GetLastError ();
34893489 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 );
34913491 php_win32_error_msg_free (msg );
34923492 }
34933493 }
@@ -3731,7 +3731,7 @@ void zend_jit_startup(void *buf, size_t size, bool reattached)
37313731 if (!VirtualProtect (dasm_buf , dasm_size , PAGE_EXECUTE_READWRITE , & old )) {
37323732 DWORD err = GetLastError ();
37333733 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 );
37353735 php_win32_error_msg_free (msg );
37363736 }
37373737 } else {
@@ -3740,7 +3740,7 @@ void zend_jit_startup(void *buf, size_t size, bool reattached)
37403740 if (!VirtualProtect (dasm_buf , dasm_size , PAGE_EXECUTE_READ , & old )) {
37413741 DWORD err = GetLastError ();
37423742 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 );
37443744 php_win32_error_msg_free (msg );
37453745 }
37463746 }
0 commit comments