Skip to content

Commit 25bf14c

Browse files
committed
Add comment
1 parent 8071e05 commit 25bf14c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/mysql2/statement.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ static int my_big2ll(VALUE bignum, LONG_LONG *ptr)
224224
}
225225
else {
226226
if (len == 8 && nlz_bits == 0 &&
227+
/* only -0x8000000000000000 is safe if `len == 8 && nlz_bits == 0` */
227228
#ifdef HAVE_RB_ABSINT_SINGLEBIT_P
228229
!rb_absint_singlebit_p(bignum)
229230
#elif defined(HAVE_RB_BIG_AND)

0 commit comments

Comments
 (0)