summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2009-05-17 11:33:22 +0000
committervimboss <devnull@localhost>2009-05-17 11:33:22 +0000
commitf16113e539bbcf835b12d0eb88a9656fb2dfdb74 (patch)
treeb6cf40176c3e3904782d82ab2cacc5afeb1d3d75 /src/term.c
parent0b97cc24fcfad05b687c547ded6a49dcb105de1b (diff)
downloadvim-f16113e539bbcf835b12d0eb88a9656fb2dfdb74.tar.gz
updated for version 7.2-180v7.2.180v7-2-180
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c
index 496e2ffa..68b3b65a 100644
--- a/src/term.c
+++ b/src/term.c
@@ -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;