aboutsummaryrefslogtreecommitdiffstats
path: root/devel/tvision
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2001-06-20 00:31:40 +0800
committeralex <alex@FreeBSD.org>2001-06-20 00:31:40 +0800
commit0113242e92c00186bc607b879e55e74ea8ef7c4c (patch)
treeeff4fa6e711ec6d9e47fbde1626b827f7b0f8d18 /devel/tvision
parent1b7b5cc298aec8c48f7599de3f32a524d96c1392 (diff)
downloadfreebsd-ports-graphics-0113242e92c00186bc607b879e55e74ea8ef7c4c.tar.gz
freebsd-ports-graphics-0113242e92c00186bc607b879e55e74ea8ef7c4c.tar.zst
freebsd-ports-graphics-0113242e92c00186bc607b879e55e74ea8ef7c4c.zip
Silence a warning.
Diffstat (limited to 'devel/tvision')
-rw-r--r--devel/tvision/files/patch-lib::dialogs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/tvision/files/patch-lib::dialogs.h b/devel/tvision/files/patch-lib::dialogs.h
new file mode 100644
index 00000000000..fbae06e03a2
--- /dev/null
+++ b/devel/tvision/files/patch-lib::dialogs.h
@@ -0,0 +1,11 @@
+--- lib/dialogs.h.old Tue Jun 19 18:29:26 2001
++++ lib/dialogs.h Tue Jun 19 18:29:41 2001
+@@ -407,7 +407,7 @@
+
+ TSItem( const char *aValue, TSItem *aNext )
+ { value = newStr(aValue); next = aNext; }
+- ~TSItem() { delete (void *)value; }
++ ~TSItem() { delete value; }
+
+ const char *value;
+ TSItem *next;