mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 7.4.2224
Problem: Compiler warnings with older compiler and 64 bit numbers. Solution: Add "LL" to large values. (Mike Williams)
This commit is contained in:
@@ -4087,11 +4087,11 @@ eval6(
|
||||
{
|
||||
#ifdef FEAT_NUM64
|
||||
if (n1 == 0)
|
||||
n1 = -0x7fffffffffffffff - 1; /* similar to NaN */
|
||||
n1 = -0x7fffffffffffffffLL - 1; /* similar to NaN */
|
||||
else if (n1 < 0)
|
||||
n1 = -0x7fffffffffffffff;
|
||||
n1 = -0x7fffffffffffffffLL;
|
||||
else
|
||||
n1 = 0x7fffffffffffffff;
|
||||
n1 = 0x7fffffffffffffffLL;
|
||||
#else
|
||||
if (n1 == 0)
|
||||
n1 = -0x7fffffffL - 1L; /* similar to NaN */
|
||||
|
Reference in New Issue
Block a user