diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2004-05-02 00:21:41 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2004-05-02 00:21:41 +0000 |
commit | 8cb321ec78908552cfc1329da3d6efaeac1e8423 (patch) | |
tree | 1e386700b410a648c5e1b71cb54c865843b45718 /content/fetch.c | |
parent | 8d57502f04441fff8678e5187e6955f75bf429b5 (diff) | |
download | netsurf-8cb321ec78908552cfc1329da3d6efaeac1e8423.tar.gz netsurf-8cb321ec78908552cfc1329da3d6efaeac1e8423.tar.bz2 |
[project @ 2004-05-02 00:21:40 by jmb]
Minimal fixes to allow compilation with Norcroft
svn path=/import/netsurf/; revision=813
Diffstat (limited to 'content/fetch.c')
-rw-r--r-- | content/fetch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/fetch.c b/content/fetch.c index 55ef247f5..35f19ca0f 100644 --- a/content/fetch.c +++ b/content/fetch.c @@ -443,7 +443,7 @@ void fetch_abort(struct fetch *f) do { fetch->locked++; fetch->callback(FETCH_ERROR, fetch->p, - messages_get("FetchError"), 0); + (char*)messages_get("FetchError"), 0); fetch->locked--; next_fetch = fetch->queue_next; fetch_free(fetch); @@ -692,7 +692,7 @@ bool fetch_process_headers(struct fetch *f) /* handle HTTP errors (non 2xx response codes) */ if (f->only_2xx && strncmp(f->url, "http", 4) == 0 && (http_code < 200 || 299 < http_code)) { - f->callback(FETCH_ERROR, f->p, messages_get("Not2xx"), 0); + f->callback(FETCH_ERROR, f->p, (char*)messages_get("Not2xx"), 0); f->locked--; return true; } @@ -717,7 +717,7 @@ bool fetch_process_headers(struct fetch *f) } LOG(("FETCH_TYPE, '%s'", type)); - f->callback(FETCH_TYPE, f->p, type, f->content_length); + f->callback(FETCH_TYPE, f->p, (char*)type, f->content_length); f->locked--; if (f->aborting) return true; |