Commit 02b95d72 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

changed resHList_t to struct resHList_t (bug fix)

parent cce39199
...@@ -130,7 +130,7 @@ reshListCreate(int namespaceID) ...@@ -130,7 +130,7 @@ reshListCreate(int namespaceID)
LIST_LOCK(); LIST_LOCK();
if (resHListSize <= namespaceID) if (resHListSize <= namespaceID)
{ {
resHList = (resHList_t*) xrealloc(resHList, (namespaceID + 1) * sizeof (resHList[0])); resHList = (struct resHList_t*) xrealloc(resHList, (namespaceID + 1) * sizeof (resHList[0]));
for (int i = resHListSize; i <= namespaceID; ++i) for (int i = resHListSize; i <= namespaceID; ++i)
reshListClearEntry(i); reshListClearEntry(i);
resHListSize = namespaceID + 1; resHListSize = namespaceID + 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment