diff options
Diffstat (limited to '')
-rw-r--r-- | src/templates.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates.h b/src/templates.h index 7ed7043e..ef2db33a 100644 --- a/src/templates.h +++ b/src/templates.h @@ -60,7 +60,7 @@ public: return (T*)&m_entries[m_allocPtr]; } T *New(int handle){ - T *entry = (T*)m_entries[handle>>8]; + T *entry = (T*)&m_entries[handle>>8]; SetNotFreeAt(handle); return entry; } |