1
0
forked from aniani/vim

updated for version 7.2-180

This commit is contained in:
Bram Moolenaar
2009-05-17 11:33:22 +00:00
parent bf0c4526bf
commit 2c4278fc73
20 changed files with 528 additions and 569 deletions

View File

@@ -2906,7 +2906,7 @@ add_long_to_buf(val, dst)
int i;
int shift;
for (i = 1; i <= sizeof(long_u); i++)
for (i = 1; i <= (int)sizeof(long_u); i++)
{
shift = 8 * (sizeof(long_u) - i);
dst[i - 1] = (char_u) ((val >> shift) & 0xff);
@@ -2937,7 +2937,7 @@ get_long_from_buf(buf, val)
len = get_bytes_from_buf(buf, bytes, (int)sizeof(long_u));
if (len != -1)
{
for (i = 0; i < sizeof(long_u); i++)
for (i = 0; i < (int)sizeof(long_u); i++)
{
shift = 8 * (sizeof(long_u) - 1 - i);
*val += (long_u)bytes[i] << shift;