Added a cast to silence a compiler warning
authorArt Cancro <ajc@citadel.org>
Sat, 23 Apr 2016 18:25:26 +0000 (14:25 -0400)
committerArt Cancro <ajc@citadel.org>
Sat, 23 Apr 2016 18:25:26 +0000 (14:25 -0400)
webcit/paramhandling.c

index 15905caa8b7caa0d30483c0f49247a665b290224..abe4f328d6e66c7cf3892f0e0ea529bbcf3f548e 100644 (file)
@@ -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)
                        );
                }