summaryrefslogtreecommitdiff
path: root/src/win95/iff.cpp
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2007-01-12 07:53:15 +0000
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:37 +0200
commit785c016a2867676a041e27ce25e33c67f026fa4e (patch)
tree6b653f46ddd5ff737eb19e4496ad041e021b7817 /src/win95/iff.cpp
parent030db5bb236344370342447d31a3d685dd93ad92 (diff)
gcc 4.1 compile fixes.
Diffstat (limited to 'src/win95/iff.cpp')
-rw-r--r--src/win95/iff.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/win95/iff.cpp b/src/win95/iff.cpp
index 4e176d6..d7581b3 100644
--- a/src/win95/iff.cpp
+++ b/src/win95/iff.cpp
@@ -219,12 +219,14 @@ namespace IFF
} // namespace IFF
-inline unsigned HashFunction(IFF::RegEntry const & rEntry)
-{
- return HashFunction(rEntry.m_idChunk.m_nID);
-}
+
namespace IFF {
+
+ inline unsigned HashFunction(IFF::RegEntry const & rEntry)
+ {
+ return ::HashFunction(rEntry.m_idChunk.m_nID);
+ }
static ::HashTable<RegEntry> * g_pRegister = NULL;