summaryrefslogtreecommitdiffstats
path: root/source/web_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-17 09:20:52 +0000
committerAndrew Tridgell <tridge@samba.org>2005-07-17 09:20:52 +0000
commit80b505748271c2ef14827a912da2b9b632e3fc18 (patch)
treee24ac600b80f36ddd2786de8455d9bd5f891f9f7 /source/web_server
parentd4be3ec8855f5a7d86625c1a9252c20dbc418da9 (diff)
downloadsamba-80b505748271c2ef14827a912da2b9b632e3fc18.tar.gz
samba-80b505748271c2ef14827a912da2b9b632e3fc18.tar.xz
samba-80b505748271c2ef14827a912da2b9b632e3fc18.zip
r8520: fixed a pile of warnings from the build farm gcc -Wall output on
S390. This is an attempt to avoid the panic we're seeing in the automatic builds. The main fixes are: - assumptions that sizeof(size_t) == sizeof(int), mostly in printf formats - use of NULL format statements to perform dn searches. - assumption that sizeof() returns an int
Diffstat (limited to 'source/web_server')
-rw-r--r--source/web_server/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/web_server/http.c b/source/web_server/http.c
index ec4b7770a64..c2e9042d4a3 100644
--- a/source/web_server/http.c
+++ b/source/web_server/http.c
@@ -486,7 +486,7 @@ void ejs_exception(const char *reason)
static void esp_request(struct esp_state *esp, const char *url)
{
struct websrv_context *web = esp->web;
- ssize_t size;
+ int size;
int res;
char *emsg = NULL, *buf;