opnsense-ports/math/xgraph/files/patch-xtb.h
Franco Fichtner d9a3ce89d2 */*: sync with upstream
Taken from: HardenedBSD
2019-08-01 12:10:42 +02:00

11 lines
275 B
C

--- xtb.h.orig 1997-07-16 18:40:41 UTC
+++ xtb.h
@@ -164,7 +164,7 @@ typedef union xtb_fmt_defn {
xtb_fmt_align align;
} xtb_fmt;
-#define NE 0
+#define NE ((xtb_fmt *) 0)
DECLARE(xtb_w, xtb_fmt *, (xtb_frame *w));
/* Returns formatting structure for frame */