Skip to content

Commit fd1e01a

Browse files
committed
Fix compilation warning on 32-bit
1 parent 70d6734 commit fd1e01a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo_firebird/firebird_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,7 @@ static int pdo_firebird_handle_factory(pdo_dbh_t *dbh, zval *driver_options) /*
14231423
char errmsg[512];
14241424
const ISC_STATUS *s = H->isc_status;
14251425
fb_interpret(errmsg, sizeof(errmsg),&s);
1426-
zend_throw_exception_ex(php_pdo_get_exception(), H->isc_status[1], "SQLSTATE[%s] [%ld] %s",
1426+
zend_throw_exception_ex(php_pdo_get_exception(), H->isc_status[1], "SQLSTATE[%s] [%" PRIiPTR "] %s",
14271427
"HY000", H->isc_status[1], errmsg);
14281428
}
14291429

0 commit comments

Comments
 (0)