Remove redundant cast to same type

This commit is contained in:
practicalswift 2018-03-05 17:41:22 +01:00 committed by Rusty Russell
parent 03e2e404f2
commit b206aed371

View file

@ -377,7 +377,7 @@ static void json_getroute(struct command *cmd, const char *buffer, const jsmntok
if (fuzztok &&
!json_tok_double(buffer, fuzztok, &fuzz)) {
command_fail(cmd, "'%.*s' is not a valid double",
(int)(fuzztok->end - fuzztok->start),
fuzztok->end - fuzztok->start,
buffer + fuzztok->start);
return;
}