Fix compilation for Ubuntu 9.04 on x86-64 when using --enable-httpd.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2262 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -307,7 +307,7 @@ int handle_request(struct MHD_Connection * connection, const char * url)
|
||||
return ret;
|
||||
}
|
||||
|
||||
LOG_DEBUG("Serving %s length=%u", url, len);
|
||||
LOG_DEBUG("Serving %s length=%zu", url, len);
|
||||
/* serve file directly */
|
||||
response = MHD_create_response_from_data(len, data, MHD_YES, MHD_NO);
|
||||
MHD_add_response_header(response, "Content-Type", "image/png");
|
||||
|
||||
Reference in New Issue
Block a user