Fixes for building w/ 64-bit gcc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5d625e950d
commit
de6e25f3bb
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ namespace {
|
||||||
|
|
||||||
struct hash_voidptr {
|
struct hash_voidptr {
|
||||||
int operator() (void *p) const {
|
int operator() (void *p) const {
|
||||||
return (int) p;
|
return (long) p;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
typedef __gnu_cxx::hash_map < void *, Director *, hash_voidptr > rtdir_map;
|
typedef __gnu_cxx::hash_map < void *, Director *, hash_voidptr > rtdir_map;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue