summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-04-16 12:49:49 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-04-16 12:49:49 +0000
commit6a7b1a73a7bcc4e4e6ee3a2343fd11b2453aefb1 (patch)
treede7b79a609c26b5deb62d0b1b0139ef2513528c1 /utils
parent3a12ed0facbdbc79b358d48d78f158a735ee6158 (diff)
downloadnetsurf-6a7b1a73a7bcc4e4e6ee3a2343fd11b2453aefb1.tar.gz
netsurf-6a7b1a73a7bcc4e4e6ee3a2343fd11b2453aefb1.tar.bz2
Fix compilation with GCC 2.95.
It astounds me how some of this lot compiled at all. svn path=/trunk/netsurf/; revision=7104
Diffstat (limited to 'utils')
-rw-r--r--utils/filename.c2
-rw-r--r--utils/talloc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/filename.c b/utils/filename.c
index e48983a53..77ec7d6b2 100644
--- a/utils/filename.c
+++ b/utils/filename.c
@@ -36,7 +36,7 @@
#include "utils/url.h"
#include "utils/utils.h"
-#define FULL_WORD (unsigned int)4294967295
+#define FULL_WORD (unsigned int)4294967295U
/* '0' + '0' * 10 */
#define START_PREFIX 528
diff --git a/utils/talloc.c b/utils/talloc.c
index 985bba93b..7b84a9a77 100644
--- a/utils/talloc.c
+++ b/utils/talloc.c
@@ -55,7 +55,7 @@
#include "replace.h"
#else
#include <stdarg.h>
-#if !defined(__BEOS__) && !defined(__HAIKU__)
+#if !defined(__BEOS__) && !defined(__HAIKU__) && __GNUC__ > 2
/* Assume we've got va_copy */
#define HAVE_VA_COPY
#include <string.h>