]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Cast to unsigned long instead of long for size_t 659/head
authorRose <83477269+AtariDreams@users.noreply.github.com>
Thu, 20 Apr 2023 17:31:34 +0000 (13:31 -0400)
committerRose <83477269+AtariDreams@users.noreply.github.com>
Mon, 1 May 2023 14:48:46 +0000 (10:48 -0400)
size_t is unsigned, so let's not worry about signedness.

cups/request.c

index 6f71be73ab789ade2b30c2f34c668a8305a49e2e..66c803a04c7c98d60e7e63ddbe013e33bbf42d81 100644 (file)
@@ -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...