ports/math/xgraph/files/patch-xtb.c
Baptiste Daroussin 36212b99fc Prevent collision with getline(3)
While here regen patches
2016-05-13 19:36:51 +00:00

11 lines
309 B
C

--- xtb.c.orig 2000-08-02 18:33:01 UTC
+++ xtb.c
@@ -198,7 +198,7 @@ Window win;
{
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;