Mercurial > vim
diff src/syntax.c @ 835:8bebcabccc2c v7.0e01
updated for version 7.0e01
author | vimboss |
---|---|
date | Mon, 17 Apr 2006 22:14:47 +0000 |
parents | 5117153003bd |
children | 5a7843c57316 |
line wrap: on
line diff
--- a/src/syntax.c +++ b/src/syntax.c @@ -2986,7 +2986,7 @@ syn_add_end_off(result, regmatch, spp, i if (result->lnum > syn_buf->b_ml.ml_line_count) len = 0; else - len = STRLEN(ml_get_buf(syn_buf, result->lnum, FALSE)); + len = (int)STRLEN(ml_get_buf(syn_buf, result->lnum, FALSE)); if (col > len) result->col = len; else @@ -3950,7 +3950,7 @@ syn_list_keywords(id, ht, did_header, at * Unfortunately, this list of keywords is not sorted on alphabet but on * hash value... */ - todo = ht->ht_used; + todo = (int)ht->ht_used; for (hi = ht->ht_array; todo > 0 && !got_int; ++hi) { if (!HASHITEM_EMPTY(hi)) @@ -4038,7 +4038,7 @@ syn_clear_keyword(id, ht) int todo; hash_lock(ht); - todo = ht->ht_used; + todo = (int)ht->ht_used; for (hi = ht->ht_array; todo > 0; ++hi) { if (!HASHITEM_EMPTY(hi)) @@ -4087,7 +4087,7 @@ clear_keywtab(ht) keyentry_T *kp; keyentry_T *kp_next; - todo = ht->ht_used; + todo = (int)ht->ht_used; for (hi = ht->ht_array; todo > 0; ++hi) { if (!HASHITEM_EMPTY(hi))