swallow warning in commit "inpcom.c, teemper bug fix, ..."

This commit is contained in:
rlar 2014-12-14 19:14:03 +01:00
parent 8bf9a67fc8
commit 956831f922
1 changed files with 2 additions and 2 deletions

View File

@ -6095,12 +6095,12 @@ inp_fix_temper_in_param(struct line *deck)
static char *
inp_functionalise_identifier(char *curr_line, char *identifier)
{
int len = strlen(identifier);
size_t len = strlen(identifier);
char *p, *str = curr_line;
for (p = str; (p = search_identifier(p, identifier, str)) != NULL; )
if (p[len] != '(') {
int prefix_len = (int) (p - str) + len;
int prefix_len = (int) (p + len - str);
char *x = str;
str = tprintf("%.*s()%s", prefix_len, str, str + prefix_len);
if (x != curr_line)