Binbin c98a28a848
Fix LREM count LONG_MIN overflow minor issue (#12465)
Limit the range of LREM count to -LONG_MAX ~ LONG_MAX.
Before the fix, passing -LONG_MAX would cause an overflow
and would effectively be the same as passing 0. (Because
this condition `toremove && removed == toremove `can never
be satisfied).

This is a minor fix as it shouldn't really affect users,
more like a cleanup.
2023-08-21 12:50:41 +03:00
..
2022-11-23 17:39:08 +02:00
2023-08-20 19:16:45 +03:00
2023-08-20 19:16:45 +03:00
2022-11-09 19:50:07 +02:00
2022-11-09 19:50:07 +02:00
2022-03-09 13:58:23 +02:00
2022-08-23 12:37:56 +03:00
2022-04-17 15:43:22 +03:00
2022-10-02 13:56:45 +03:00
2022-08-23 12:37:56 +03:00
2023-02-12 09:23:29 +02:00
2023-02-12 09:23:29 +02:00
2023-08-20 19:16:45 +03:00
2023-08-20 19:16:45 +03:00
2021-07-10 10:04:54 -05:00
2022-07-18 10:56:26 +03:00
2023-01-22 16:32:20 +02:00
2023-06-22 08:10:42 -07:00
2023-02-12 09:23:29 +02:00