mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-23 19:54:59 -04:00
26 lines
696 B
Plaintext
26 lines
696 B
Plaintext
$NetBSD: patch-ah,v 1.3 2016/05/07 09:57:54 joerg Exp $
|
|
|
|
--- cmn/actual.cpp.orig 2000-01-19 12:54:36.000000000 +0000
|
|
+++ cmn/actual.cpp
|
|
@@ -31,8 +31,10 @@
|
|
#endif
|
|
|
|
// Include Files
|
|
+#include <inttypes.h>
|
|
#if X11
|
|
-#include <strstream.h>
|
|
+#include <strstream>
|
|
+using namespace std;
|
|
#endif
|
|
#if WIN32
|
|
#include <strstrea.h>
|
|
@@ -1534,7 +1536,7 @@ Boolean Transmogifier::transmogify_targe
|
|
void *closure) {
|
|
// notThis is used to prevent transmogifying into the same class an object
|
|
// already is.
|
|
- ClassId notThis = (ClassId)closure;
|
|
+ ClassId notThis = (ClassId)(intptr_t)closure;
|
|
if (pc->classId == notThis) {
|
|
return False;
|
|
}
|