diff options
Diffstat (limited to 'net-libs/wvstreams/files/wvstreams-4.2.1-ptr2int-cast.patch')
-rw-r--r-- | net-libs/wvstreams/files/wvstreams-4.2.1-ptr2int-cast.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-libs/wvstreams/files/wvstreams-4.2.1-ptr2int-cast.patch b/net-libs/wvstreams/files/wvstreams-4.2.1-ptr2int-cast.patch new file mode 100644 index 000000000000..7faf9441f4a5 --- /dev/null +++ b/net-libs/wvstreams/files/wvstreams-4.2.1-ptr2int-cast.patch @@ -0,0 +1,11 @@ +diff -Nru wvstreams-4.2.1.orig/utils/wvhash.cc wvstreams-4.2.1/utils/wvhash.cc +--- wvstreams-4.2.1.orig/utils/wvhash.cc 2005-11-17 22:45:07.000000000 +0200 ++++ wvstreams-4.2.1/utils/wvhash.cc 2005-12-26 14:31:40.882751000 +0200 +@@ -30,6 +30,6 @@ + + unsigned WvHash(const void *p) + { +- return reinterpret_cast<unsigned>(p); ++ return (unsigned)p; + } + |