Hi, The attached patch fixes the build problem on 64bit architectures. I tested it on alpha, but it should work on the other 64bit architectures as well.
Cheers, Peter (p2).
diff -urN libmetakit2.4.9.3-2.4.9.3/python/PyRowRef.cpp
fixed/libmetakit2.4.9.3-2.4.9.3/python/PyRowRef.cpp
--- libmetakit2.4.9.3-2.4.9.3/python/PyRowRef.cpp 2004-01-21
02:46:06.000000000 +0100
+++ fixed/libmetakit2.4.9.3-2.4.9.3/python/PyRowRef.cpp 2005-08-27
17:01:25.000000000 +0200
@@ -24,12 +24,12 @@
}
static int PyRowRef_print(PyRowRef *o, FILE *f, int) {
- fprintf(f, "<PyRowRef object at %x>", (int)o);
+ fprintf(f, "<PyRowRef object at %p>", o);
return 0;
}
static int PyRORowRef_print(PyRowRef *o, FILE *f, int) {
- fprintf(f, "<PyRORowRef object at %x>", (int)o);
+ fprintf(f, "<PyRORowRef object at %p>", o);
return 0;
}
diff -urN libmetakit2.4.9.3-2.4.9.3/python/PyView.cpp
fixed/libmetakit2.4.9.3-2.4.9.3/python/PyView.cpp
--- libmetakit2.4.9.3-2.4.9.3/python/PyView.cpp 2004-01-21 02:46:06.000000000
+0100
+++ fixed/libmetakit2.4.9.3-2.4.9.3/python/PyView.cpp 2005-08-27
17:40:27.000000000 +0200
@@ -971,15 +971,15 @@
}
static int PyView_print(PyView *o, FILE *f, int) {
- fprintf(f, "<PyView object at %x>", (int)o);
+ fprintf(f, "<PyView object at %p>", o);
return 0;
}
static int PyViewer_print(PyView *o, FILE *f, int) {
- fprintf(f, "<PyViewer object at %x>", (int)o);
+ fprintf(f, "<PyViewer object at %p>", o);
return 0;
}
static int PyROViewer_print(PyView *o, FILE *f, int) {
- fprintf(f, "<PyROViewer object at %x>", (int)o);
+ fprintf(f, "<PyROViewer object at %p>", o);
return 0;
}
signature.asc
Description: Digital signature

