From: msweet Date: Wed, 28 Oct 2015 16:45:50 +0000 (+0000) Subject: Fix compile error. X-Git-Tag: v2.2b1~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40e7858e19121b1f583721f4b70760197d1c7b62;p=thirdparty%2Fcups.git Fix compile error. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12950 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/test/ipptool.c b/test/ipptool.c index cd1f642b1c..9f4551566a 100644 --- a/test/ipptool.c +++ b/test/ipptool.c @@ -3996,7 +3996,7 @@ get_string(ipp_attribute_t *attr, /* I - IPP attribute */ if ((ptr = hostname + strlen(hostname) - 1) >= hostname && *ptr == '.') *ptr = '\0'; - httpAssembleURI(HTTP_URI_CODING_ALL, buffer, bufsize, scheme, userpass, hostname, port, resource); + httpAssembleURI(HTTP_URI_CODING_ALL, buffer, (int)bufsize, scheme, userpass, hostname, port, resource); } return (buffer);