comparison src/vim9execute.c @ 30337:dac4fe437840 v9.0.0504

patch 9.0.0504: still a build failure Commit: https://github.com/vim/vim/commit/c9e4a6f1910dea250af69a3774bcf1fee7e7b8f5 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Sep 19 16:08:04 2022 +0100 patch 9.0.0504: still a build failure Problem: still a Build failure. Solution: Add another missing changes. Avoid compiler warning.
author Bram Moolenaar <Bram@vim.org>
date Mon, 19 Sep 2022 17:15:04 +0200
parents fc0830246f49
children 221cca379bd5
comparison
equal deleted inserted replaced
30336:cf5fed99ae1e 30337:dac4fe437840
5953 for (depth = 0; depth < lvi->lvi_depth; ++depth) 5953 for (depth = 0; depth < lvi->lvi_depth; ++depth)
5954 { 5954 {
5955 if (ga_grow(&ga, 50) == FAIL) 5955 if (ga_grow(&ga, 50) == FAIL)
5956 break; 5956 break;
5957 if (lvi->lvi_loop[depth].var_idx == 0) 5957 if (lvi->lvi_loop[depth].var_idx == 0)
5958 STRCPY(ga.ga_data + ga.ga_len, " -"); 5958 STRCPY((char *)ga.ga_data + ga.ga_len, " -");
5959 else 5959 else
5960 vim_snprintf(ga.ga_data + ga.ga_len, 50, " $%d-$%d", 5960 vim_snprintf((char *)ga.ga_data + ga.ga_len, 50, " $%d-$%d",
5961 lvi->lvi_loop[depth].var_idx, 5961 lvi->lvi_loop[depth].var_idx,
5962 lvi->lvi_loop[depth].var_idx 5962 lvi->lvi_loop[depth].var_idx
5963 + lvi->lvi_loop[depth].var_count - 1); 5963 + lvi->lvi_loop[depth].var_count - 1);
5964 ga.ga_len = STRLEN(ga.ga_data); 5964 ga.ga_len = (int)STRLEN(ga.ga_data);
5965 } 5965 }
5966 return ga.ga_data; 5966 return ga.ga_data;
5967 } 5967 }
5968 5968
5969 /* 5969 /*