summaryrefslogtreecommitdiff
path: root/lang/mosh/files/patch-HashTableProceduures.cpp
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-09-07 17:48:25 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-09-07 17:48:25 +0000
commit20dba0024d56c7cc1472bfbded1b2ad4c82439d4 (patch)
treec7fef3306def9ea73d08af2182b2efd1a356768e /lang/mosh/files/patch-HashTableProceduures.cpp
parentUpdate to 0.6.5 (diff)
- Update to version 0.0.6
PR: 126958 Submitetd by: Katsuji ISHIKAWA <katsuji dot ishikawa at gmail dot com> (maintainer)
Diffstat (limited to 'lang/mosh/files/patch-HashTableProceduures.cpp')
-rw-r--r--lang/mosh/files/patch-HashTableProceduures.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/mosh/files/patch-HashTableProceduures.cpp b/lang/mosh/files/patch-HashTableProceduures.cpp
new file mode 100644
index 000000000000..927e0d5386b7
--- /dev/null
+++ b/lang/mosh/files/patch-HashTableProceduures.cpp
@@ -0,0 +1,20 @@
+--- HashTableProceduures.cpp.orig 2008-08-16 14:52:38.000000000 +0400
++++ HashTableProceduures.cpp 2008-08-31 16:12:15.000000000 +0400
+@@ -32,6 +32,8 @@
+ #include "HashTableProceduures.h"
+ #include "ProcedureMacro.h"
+
++#include <stdint.h>
++
+ using namespace scheme;
+
+ extern scheme::VM* theVM;
+@@ -81,7 +83,7 @@
+ int scheme::symbolHash(Symbol* symbol)
+ {
+ // we can use pointer as hash, because symbol is interned.
+- return reinterpret_cast<int>(symbol);
++ return reinterpret_cast<intptr_t>(symbol);
+ }
+
+