Skip to content

Commit 7b3a2d1

Browse files
committed
Fix incorrect printf modifiers
1 parent 08b4f3c commit 7b3a2d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/gmp/gmp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1956,8 +1956,8 @@ ZEND_FUNCTION(gmp_setbit)
19561956
php_error_docref(NULL, E_WARNING, "Index must be greater than or equal to zero");
19571957
RETURN_FALSE;
19581958
}
1959-
if (index / GMP_NUMB_BITS >= INT_MAX ) {
1960-
php_error_docref(NULL, E_WARNING, "Index must be less than %ld * %ld", INT_MAX, GMP_NUMB_BITS);
1959+
if (index / GMP_NUMB_BITS >= INT_MAX) {
1960+
php_error_docref(NULL, E_WARNING, "Index must be less than %d * %d", INT_MAX, GMP_NUMB_BITS);
19611961
RETURN_FALSE;
19621962
}
19631963

0 commit comments

Comments
 (0)