Mercurial > vim
comparison src/ops.c @ 5415:fa8447ec5823 v7.4.058
updated for version 7.4.058
Problem: Warnings on 64 bit Windows.
Solution: Add type casts. (Mike Williams)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 02 Nov 2013 23:59:35 +0100 |
parents | b9c1c1f4cda9 |
children | d06223965468 |
comparison
equal
deleted
inserted
replaced
5414:68331356e02e | 5415:fa8447ec5823 |
---|---|
5007 } else | 5007 } else |
5008 #endif | 5008 #endif |
5009 if (second_indent > 0) /* the "leader" for FO_Q_SECOND */ | 5009 if (second_indent > 0) /* the "leader" for FO_Q_SECOND */ |
5010 { | 5010 { |
5011 char_u *p = ml_get_curline(); | 5011 char_u *p = ml_get_curline(); |
5012 int indent = skipwhite(p) - p; | 5012 int indent = (int)(skipwhite(p) - p); |
5013 | 5013 |
5014 if (indent > 0) | 5014 if (indent > 0) |
5015 { | 5015 { |
5016 (void)del_bytes(indent, FALSE, FALSE); | 5016 (void)del_bytes(indent, FALSE, FALSE); |
5017 mark_col_adjust(curwin->w_cursor.lnum, | 5017 mark_col_adjust(curwin->w_cursor.lnum, |
5018 (colnr_T)0, 0L, (long)-indent); | 5018 (colnr_T)0, 0L, (long)-indent); |
5019 } | 5019 } |
5020 } | 5020 } |
5021 curwin->w_cursor.lnum--; | 5021 curwin->w_cursor.lnum--; |
5022 if (do_join(2, TRUE, FALSE, FALSE) == FAIL) | 5022 if (do_join(2, TRUE, FALSE, FALSE) == FAIL) |
5023 { | 5023 { |
5024 beep_flush(); | 5024 beep_flush(); |