summaryrefslogtreecommitdiff
path: root/lang/mosh/files/patch-HashTableProceduures.cpp
diff options
context:
space:
mode:
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);
+ }
+
+