summaryrefslogtreecommitdiff
path: root/queue.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-08-22 14:44:03 +0000
committertruelight <truelight@openttd.org>2004-08-22 14:44:03 +0000
commit99253905bb147f19142ab61172b22962f41c48bc (patch)
tree8ea6ee4ff7c6784296eeb0de5f8bed32811c9f81 /queue.h
parenta770903df78bd144151a544775cf903f27d9a0f4 (diff)
downloadopenttd-99253905bb147f19142ab61172b22962f41c48bc.tar.xz
(svn r108) -Fix: anon-union problems on GCC2 compilers
Diffstat (limited to 'queue.h')
-rw-r--r--queue.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/queue.h b/queue.h
index 8394aa61a..05efe589b 100644
--- a/queue.h
+++ b/queue.h
@@ -76,7 +76,8 @@ struct Queue{
uint blocks; /* The amount of blocks for which space is reserved in elements */
BinaryHeapNode** elements;
} binaryheap;
- };
+ } data;
+
/* If true, this struct will be free'd when the
* Queue is deleted. */
bool freeq;