opnsense-ports/math/xgraph/files/patch-xtb.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
323 B
C

--- xtb.c.orig Thu Jul 17 04:26:41 1997
+++ xtb.c Fri Dec 10 03:06:26 1999
@@ -196,7 +196,7 @@
{
xtb_data data;
- if (!XFindContext(t_disp, win, h_context, &data)) {
+ if (!XFindContext(t_disp, win, h_context, (XPointer*)&data)) {
return ((struct h_info *) data)->info;
} else {
return (xtb_data) 0;