mirror of
https://github.com/vim/vim.git
synced 2025-10-15 07:14:09 -04:00
patch 8.1.0432: compiler warning for signed/unsigned
Problem: Compiler warning for signed/unsigned. Solution: Add type cast. (Mike Williams)
This commit is contained in:
@@ -794,6 +794,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
432,
|
||||||
/**/
|
/**/
|
||||||
431,
|
431,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -31,7 +31,7 @@ static long xdl_get_rec(xdfile_t *xdf, long ri, char const **rec) {
|
|||||||
|
|
||||||
|
|
||||||
static int xdl_emit_record(xdfile_t *xdf, long ri, char const *pre, xdemitcb_t *ecb) {
|
static int xdl_emit_record(xdfile_t *xdf, long ri, char const *pre, xdemitcb_t *ecb) {
|
||||||
long size, psize = strlen(pre);
|
long size, psize = (long)strlen(pre);
|
||||||
char const *rec;
|
char const *rec;
|
||||||
|
|
||||||
size = xdl_get_rec(xdf, ri, &rec);
|
size = xdl_get_rec(xdf, ri, &rec);
|
||||||
|
Reference in New Issue
Block a user