diff options
author | vimboss <devnull@localhost> | 2009-05-17 11:33:22 +0000 |
---|---|---|
committer | vimboss <devnull@localhost> | 2009-05-17 11:33:22 +0000 |
commit | f16113e539bbcf835b12d0eb88a9656fb2dfdb74 (patch) | |
tree | b6cf40176c3e3904782d82ab2cacc5afeb1d3d75 /src/term.c | |
parent | 0b97cc24fcfad05b687c547ded6a49dcb105de1b (diff) | |
download | vim-f16113e539bbcf835b12d0eb88a9656fb2dfdb74.tar.gz |
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |