HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/math/xgraph/files/patch-xtb.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;