]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - http_send.c
Fix some unsigned vs. size_t issues.
[paraslash.git] / http_send.c
index bbf634100c6de88e95c2e426de5c5a09d4dcfc80..e7a9ae2bc50c201c52cf0d3b25f896ecec515dd9 100644 (file)
@@ -165,11 +165,11 @@ static void http_send( long unsigned current_chunk,
                                hc->status != HTTP_READY_TO_STREAM)
                        continue;
                if (hc->status == HTTP_READY_TO_STREAM) {
-                       unsigned hlen;
+                       size_t hlen;
                        char *hbuf = vss_get_header(&hlen);
                        if (hbuf && hlen > 0 && current_chunk) {
                                /* need to send header */
-                               PARA_INFO_LOG("queueing header: %d\n", hlen);
+                               PARA_INFO_LOG("queueing header: %zu\n", hlen);
                                if (queue_chunk_or_shutdown(hc, -1U, 0) < 0)
                                        continue;
                        } else