Mercurial > vim
comparison src/quickfix.c @ 2416:1a9c16dd76d4 vim73
Fix compiler warnings on 64 bit systems.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 26 Jul 2010 22:51:28 +0200 |
parents | 68e394361ca3 |
children | 9fe4164cb586 |
comparison
equal
deleted
inserted
replaced
2415:8f017e31750f | 2416:1a9c16dd76d4 |
---|---|
896 qi->qf_curlist = qi->qf_listcount++; | 896 qi->qf_curlist = qi->qf_listcount++; |
897 qi->qf_lists[qi->qf_curlist].qf_index = 0; | 897 qi->qf_lists[qi->qf_curlist].qf_index = 0; |
898 qi->qf_lists[qi->qf_curlist].qf_count = 0; | 898 qi->qf_lists[qi->qf_curlist].qf_count = 0; |
899 if (qf_title != NULL) | 899 if (qf_title != NULL) |
900 { | 900 { |
901 char_u *p = alloc(STRLEN(qf_title) + 2); | 901 char_u *p = alloc((int)STRLEN(qf_title) + 2); |
902 | 902 |
903 qi->qf_lists[qi->qf_curlist].qf_title = p; | 903 qi->qf_lists[qi->qf_curlist].qf_title = p; |
904 if (p != NULL) | 904 if (p != NULL) |
905 sprintf((char *)p, ":%s", (char *)qf_title); | 905 sprintf((char *)p, ":%s", (char *)qf_title); |
906 } | 906 } |