src/frontend/variable.c, swallow "warning: conversion to 'int' from 'size_t' may change the sign of the result"

This commit is contained in:
rlar 2015-01-04 20:37:16 +01:00
parent 7b0275ebf7
commit ccc4c60d81
1 changed files with 1 additions and 1 deletions

View File

@ -740,7 +740,7 @@ cp_variablesubst(wordlist *wlist)
if (wlist == wl)
wlist = nwl;
wl = wl_splice(wl, nwl);
i = strlen(wl->wl_word);
i = (int) strlen(wl->wl_word);
x = wl->wl_word;
wl->wl_word = tprintf("%s%s", wl->wl_word, tail_);
free(x);