summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2003-07-14 23:13:23 +0000
committerJames Bursa <james@netsurf-browser.org>2003-07-14 23:13:23 +0000
commit613c7003e99806aa6d0c30df0d9f5f167dc5cae8 (patch)
treec61f2b119b1cd03537ab56d39279c355a6f6636a
parent889ae885c66b0278c632090a0e1b89746a895ed4 (diff)
downloadnetsurf-613c7003e99806aa6d0c30df0d9f5f167dc5cae8.tar.gz
netsurf-613c7003e99806aa6d0c30df0d9f5f167dc5cae8.tar.bz2
[project @ 2003-07-14 23:13:23 by bursa]
Fixes for 26-bit build. svn path=/import/netsurf/; revision=217
-rw-r--r--render/html.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/render/html.c b/render/html.c
index e9c7b86d7..d93550bc8 100644
--- a/render/html.c
+++ b/render/html.c
@@ -475,7 +475,8 @@ void html_add_instance(struct content *c, struct browser_window *bw,
struct content *page, struct box *box,
struct object_params *params, void **state)
{
- for (unsigned int i = 0; i != c->data.html.object_count; i++) {
+ unsigned int i;
+ for (i = 0; i != c->data.html.object_count; i++) {
if (c->data.html.object[i].content == 0)
continue;
content_add_instance(c->data.html.object[i].content,
@@ -491,7 +492,8 @@ void html_remove_instance(struct content *c, struct browser_window *bw,
struct content *page, struct box *box,
struct object_params *params, void **state)
{
- for (unsigned int i = 0; i != c->data.html.object_count; i++) {
+ unsigned int i;
+ for (i = 0; i != c->data.html.object_count; i++) {
if (c->data.html.object[i].content == 0)
continue;
content_remove_instance(c->data.html.object[i].content,