From ccc4c60d81a4edba8864c07213724623a45b212d Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 4 Jan 2015 20:37:16 +0100 Subject: [PATCH] src/frontend/variable.c, swallow "warning: conversion to 'int' from 'size_t' may change the sign of the result" --- src/frontend/variable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/variable.c b/src/frontend/variable.c index c7ba82c69..73db4b799 100644 --- a/src/frontend/variable.c +++ b/src/frontend/variable.c @@ -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);