1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/games/gracer/files/patch-gr_memory.h
Eric Anholt 9a825162a7 Trivially unbreak gracer by fixing bad C code. Still has some visual issues.
Also, depend on tcl84 instead of tcl82 (maintainer).

PR:		ports/80634
Submitted by:	anholt
Approved by:	maintainer
2005-05-05 19:24:28 +00:00

12 lines
395 B
C

--- common/gr_memory.h.orig Wed May 4 18:49:43 2005
+++ common/gr_memory.h Wed May 4 18:49:45 2005
@@ -64,7 +64,7 @@
void gr_dlist_free (GrDList *list);
#define gr_FOREACH(l,p) \
- for (; (l) != NULL && ((void *)(p) = (l)->data, 1); (l) = (l)->next)
+ for (; (l) != NULL && ((p) = (l)->data, 1); (l) = (l)->next)
void gr_ref_incr (GrRef *ref);
void gr_ref_decr (GrRef *ref);