diff options
Diffstat (limited to 'src/spellsuggest.c')
-rw-r--r-- | src/spellsuggest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/spellsuggest.c b/src/spellsuggest.c index e9f2cd570a..b2b402919f 100644 --- a/src/spellsuggest.c +++ b/src/spellsuggest.c @@ -774,8 +774,8 @@ spell_find_suggest( // Set the info in "*su". CLEAR_POINTER(su); - ga_init2(&su->su_ga, (int)sizeof(suggest_T), 10); - ga_init2(&su->su_sga, (int)sizeof(suggest_T), 10); + ga_init2(&su->su_ga, sizeof(suggest_T), 10); + ga_init2(&su->su_sga, sizeof(suggest_T), 10); if (*badptr == NUL) return; hash_init(&su->su_banned); @@ -2943,7 +2943,7 @@ score_combine(suginfo_T *su) check_suggestions(su, &su->su_sga); (void)cleanup_suggestions(&su->su_sga, su->su_maxscore, su->su_maxcount); - ga_init2(&ga, (int)sizeof(suginfo_T), 1); + ga_init2(&ga, sizeof(suginfo_T), 1); if (ga_grow(&ga, su->su_ga.ga_len + su->su_sga.ga_len) == FAIL) return; |