30e8f4bec2
Fix build on 64-bit and/or gcc4 platforms. (Note: it doesn't work for me, but now it at least compiles...) Correct typo in PLIST. PKGREVISION++.
13 lines
649 B
Text
13 lines
649 B
Text
$NetBSD: patch-ah,v 1.1 2008/07/27 21:44:47 dholland Exp $
|
|
|
|
--- Main/Include/stack.h~ 2004-10-26 15:36:44.000000000 -0400
|
|
+++ Main/Include/stack.h 2008-07-27 16:28:11.000000000 -0400
|
|
@@ -56,7 +56,7 @@
|
|
stackiterator(stackslot* Slot) : Slot(Slot) { }
|
|
stackiterator& operator++() { Slot = Slot->Next; return *this; }
|
|
stackiterator& operator--() { Slot = Slot->Last; return *this; }
|
|
- truth HasItem() const { return truth(Slot); }
|
|
+ truth HasItem() const { return truth(Slot != NULL); }
|
|
item* operator->() const { return Slot->Item; }
|
|
item* operator*() const { return Slot->Item; }
|
|
const stackslot& GetSlot() const { return *Slot; }
|