]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/http-addr.c
Eliminate compiler warning.
[thirdparty/cups.git] / cups / http-addr.c
index 62b0e173ad9f010fc7d4f66b33b3b877f555de86..9ad2ea307003a1a29506e341bd403e3c3d2dadb6 100644 (file)
@@ -871,7 +871,7 @@ httpGetHostname(http_t *http,               /* I - HTTP connection or NULL */
     */
 
     if (strlen(s) > 6 && !strcmp(s + strlen(s) - 6, ".local"))
-      strlcat(s, ".", slen);
+      strlcat(s, ".", (size_t)slen);
   }
 
  /*