From 79554528ba6766cfc3687a223558956ad7526b83 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 8 Sep 2006 16:05:36 +0000 Subject: Squash warning svn path=/trunk/netsurf/; revision=2931 --- riscos/query.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'riscos') diff --git a/riscos/query.c b/riscos/query.c index b2a51c372..8cf1c7444 100644 --- a/riscos/query.c +++ b/riscos/query.c @@ -5,6 +5,7 @@ * Copyright 2005 Adrian Lees */ +#define _GNU_SOURCE /* for strnlen */ #include #include @@ -274,7 +275,7 @@ bool ro_gui_query_apply(wimp_w w) { struct gui_query_window *qw; const query_callback *cb; - + qw = (struct gui_query_window *)ro_gui_wimp_event_get_user_data(w); cb = qw->cb; cb->confirm(qw->id, QUERY_YES, qw->pw); @@ -289,7 +290,7 @@ bool ro_gui_query_click(wimp_pointer *pointer) { struct gui_query_window *qw; const query_callback *cb; - + qw = (struct gui_query_window *)ro_gui_wimp_event_get_user_data(pointer->w); cb = qw->cb; -- cgit v1.2.3