freebsd-ports/audio/kmp/files/patch-linkedlist.h
Kirill Ponomarev 45d8d4e71d Fix build with gcc-3.4
PR:		ports/71447
Submitted by:	maintainer
Approved by:	portmgr (implicit)
2004-09-07 05:24:56 +00:00

11 lines
380 B
C

--- linkedlist.h Tue Sep 7 06:32:48 2004
+++ linkedlist.h Tue Sep 7 06:33:00 2004
@@ -121,7 +121,7 @@
int linkedList<ItemType>::add(ItemType Item, int location) {
node* parent;
node* nextspot;
- if(!find(location, root_, parent)) return 0;
+ if(!find(location, root, parent)) return 0;
nextspot = parent->next;
parent->next = new node;
parent->next->next = nextspot;