Fix for compiler warning messages
src/genlib/net/http/httpreadwrite.c: In function ‘http_Download’: src/genlib/net/http/httpreadwrite.c:790:5: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘size_t’ src/genlib/net/http/httpreadwrite.c:790:5: warning: format ‘%d’ expects type ‘int’, but argument 7 has type ‘size_t’
This commit is contained in:
parent
b9944242cf
commit
5969530dcf
@ -786,8 +786,9 @@ int http_Download( IN const char *url_str,
|
||||
assert(*document != NULL);
|
||||
if (msg_length <= *doc_length || *document == NULL)
|
||||
UpnpPrintf(UPNP_INFO, HTTP, __FILE__, __LINE__,
|
||||
"msg_length(%d) <= *doc_length(%d) or document"
|
||||
" is NULL", msg_length, *doc_length);
|
||||
"msg_length(%" PRIzu ") <= *doc_length(%"
|
||||
PRIzu ") or document is NULL",
|
||||
msg_length, *doc_length);
|
||||
}
|
||||
if (response.msg.status_code == HTTP_OK) {
|
||||
ret_code = 0; /* success */
|
||||
|
Loading…
Reference in New Issue
Block a user