diff options
Diffstat (limited to 'tdehtml/xml/dom_docimpl.h')
-rw-r--r-- | tdehtml/xml/dom_docimpl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tdehtml/xml/dom_docimpl.h b/tdehtml/xml/dom_docimpl.h index 9cacfd9f5..bcdc9500c 100644 --- a/tdehtml/xml/dom_docimpl.h +++ b/tdehtml/xml/dom_docimpl.h @@ -27,6 +27,8 @@ #ifndef _DOM_DocumentImpl_h_ #define _DOM_DocumentImpl_h_ +#include <stdint.h> + #include "xml/dom_elementimpl.h" #include "xml/dom_textimpl.h" #include "xml/dom2_traversalimpl.h" @@ -617,7 +619,7 @@ protected: TQString name = cs ? n.string() : n.string().upper(); TQString qn("aliases: " + (cs ? px.string() : px.string().upper()) + ":" + name); if (!ids.find( qn )) { - ids.insert( qn, (void*)id ); + ids.insert( qn, (void*)(intptr_t)id ); } } expandIfNeeded(); |