diff options
author | arved <arved@FreeBSD.org> | 2007-08-01 02:22:57 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2007-08-01 02:22:57 +0800 |
commit | dfe21af48bcfa9c858106c5fabe9687f925f8184 (patch) | |
tree | b1b601d01cb809b84ea917c05755211ce6ae5d1f /net | |
parent | 2fe9be037e0962725c08e7ba23f84902f8a02573 (diff) | |
download | freebsd-ports-graphics-dfe21af48bcfa9c858106c5fabe9687f925f8184.tar.gz freebsd-ports-graphics-dfe21af48bcfa9c858106c5fabe9687f925f8184.tar.zst freebsd-ports-graphics-dfe21af48bcfa9c858106c5fabe9687f925f8184.zip |
Fix build on 64bit platforms
Diffstat (limited to 'net')
-rw-r--r-- | net/vls/files/patch-src-core-hashtable.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/vls/files/patch-src-core-hashtable.cpp b/net/vls/files/patch-src-core-hashtable.cpp new file mode 100644 index 00000000000..8f6d703f871 --- /dev/null +++ b/net/vls/files/patch-src-core-hashtable.cpp @@ -0,0 +1,11 @@ +--- src/core/hashtable.cpp.orig 2007-07-31 20:20:07.000000000 +0200 ++++ src/core/hashtable.cpp 2007-07-31 20:21:02.000000000 +0200 +@@ -97,7 +97,7 @@ + + u32 C_HashMethod<handle>::Hash(handle hKey) const + { +- return (u32)hKey % m_uiMaxHash; ++ return (uintptr_t)hKey % m_uiMaxHash; + } + + |