aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2007-07-31 18:22:57 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2007-07-31 18:22:57 +0000
commita973ae6646ecafb6d1706948da7a9714e0d7fbac (patch)
tree99c17fede1976dc1ff4248fcf28a50dad76e8de3 /www
parent79d6375a159ef86319d1207185601e2f4a30f252 (diff)
downloadports-a973ae6646ecafb6d1706948da7a9714e0d7fbac.tar.gz
ports-a973ae6646ecafb6d1706948da7a9714e0d7fbac.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/swish++/files/patch-elements.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/swish++/files/patch-elements.c b/www/swish++/files/patch-elements.c
new file mode 100644
index 000000000000..ab3bd53c87e5
--- /dev/null
+++ b/www/swish++/files/patch-elements.c
@@ -0,0 +1,11 @@
+--- mod/html/elements.c.orig 2007-07-31 20:12:01.000000000 +0200
++++ mod/html/elements.c 2007-07-31 20:12:22.000000000 +0200
+@@ -295,7 +295,7 @@
+ // become overly pedantic about casting to enums.
+ //
+ element::end_tag_type const
+- v = (element::end_tag_type const)(int const)(p[1]);
++ v = (element::end_tag_type const)(intptr_t const)(p[1]);
+ element &e = insert( value_type( *p++, element( v ) ) ).first->second;
+
+ switch ( v ) {