From: Art Cancro Date: Sat, 23 Apr 2016 18:25:26 +0000 (-0400) Subject: Added a cast to silence a compiler warning X-Git-Tag: Release_902~14 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=02b97e390060ab97d00bb77608413a6dc14abf17 Added a cast to silence a compiler warning --- diff --git a/webcit/paramhandling.c b/webcit/paramhandling.c index 15905caa8..abe4f328d 100644 --- a/webcit/paramhandling.c +++ b/webcit/paramhandling.c @@ -176,7 +176,7 @@ void ParseURLParams(StrBuf *url) keylen = aptr - up - 1; /* -1 -> '=' */ if (keylen > sizeof(u->url_key)) { syslog(LOG_WARNING, "%s:%d: invalid url_key of size %d in string size %ld", - __FILE__, __LINE__, keylen, sizeof(u->url_key) + __FILE__, __LINE__, keylen, (long)sizeof(u->url_key) ); }