2004-11-13 Casper S. Hornstrup <chorns@users.sourceforge.net>

* apps/utils/net/roshttpd/include/list.h (CList<Item>::Get): Declare i
	before use.

svn path=/trunk/; revision=11644
This commit is contained in:
Casper Hornstrup 2004-11-13 17:20:30 +00:00
parent 3e0c6c7994
commit 9f05cd01e3
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-11-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
* apps/utils/net/roshttpd/include/list.h (CList<Item>::Get): Declare i
before use.
2004-10-29 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/include/internal/test.h (NtLockVirtualMemoryInternal): Rename

View file

@ -112,7 +112,7 @@ Item& CList<Item>::Get(const LONG index) const
return NULL;
node = Header;
for (i = 0; i <= index; i++)
for (int i = 0; i <= index; i++)
node = node->GetNext();
return (Item *) node->GetElement();