summaryrefslogtreecommitdiff
path: root/riscos/textselection.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2003-12-27 00:11:57 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2003-12-27 00:11:57 +0000
commit59fb052818656e74162d7f026f7089ec42c1e8a0 (patch)
treee5b8bf21e2201adf5170f2bfde49ae4423902f63 /riscos/textselection.c
parent2363d8f5af7302924a0ce3608d971f5594710f3f (diff)
downloadnetsurf-59fb052818656e74162d7f026f7089ec42c1e8a0.tar.gz
netsurf-59fb052818656e74162d7f026f7089ec42c1e8a0.tar.bz2
[project @ 2003-12-27 00:11:57 by jmb]
Tidy code to reduce compiler warnings. htmlredraw.c and plugin.c produce the most now. Hopefully I haven't broken anything ;) svn path=/import/netsurf/; revision=451
Diffstat (limited to 'riscos/textselection.c')
-rw-r--r--riscos/textselection.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/riscos/textselection.c b/riscos/textselection.c
index bad404829..fec3bbc69 100644
--- a/riscos/textselection.c
+++ b/riscos/textselection.c
@@ -5,6 +5,7 @@
* Copyright 2003 Phil Mellor <monkeyson@users.sourceforge.net>
*/
+#include <string.h>
#include "oslib/wimp.h"
#include "netsurf/riscos/gui.h"
#include "netsurf/utils/log.h"
@@ -122,7 +123,7 @@ void ro_gui_drag_end(wimp_dragged* drag)
strcpy(send_message->data.data_xfer.file_name,
current_drag.data.download.gui->data.download.path);
- LOG(("Sending message to window owner, filename = %s, length = %lu",
+ LOG(("Sending message to window owner, filename = %s, length = %d",
send_message->data.data_xfer.file_name,
send_message->data.data_xfer.est_size));