From: Rose <83477269+AtariDreams@users.noreply.github.com> Date: Thu, 20 Apr 2023 17:31:34 +0000 (-0400) Subject: Cast to unsigned long instead of long for size_t X-Git-Tag: v2.4.3~30^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F659%2Fhead;p=thirdparty%2Fcups.git Cast to unsigned long instead of long for size_t size_t is unsigned, so let's not worry about signedness. --- diff --git a/cups/request.c b/cups/request.c index 6f71be73ab..66c803a04c 100644 --- a/cups/request.c +++ b/cups/request.c @@ -179,7 +179,7 @@ cupsDoIORequest(http_t *http, /* I - Connection to server or @code CUPS_HTTP else length = ippLength(request); - DEBUG_printf(("2cupsDoIORequest: Request length=%ld, total length=%ld", (long)ippLength(request), (long)length)); + DEBUG_printf(("2cupsDoIORequest: Request length=%lu, total length=%lu", (unsigned long)ippLength(request), (unsigned long)length)); /* * Clear any "Local" authentication data since it is probably stale...