1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ac,v 1.1 2008/08/02 21:32:30 dholland Exp $
--- python/PyRowRef.cpp~ 2004-04-26 06:18:13.000000000 -0400
+++ python/PyRowRef.cpp 2008-08-02 17:28:54.000000000 -0400
@@ -24,12 +24,12 @@ static void PyRowRef_dealloc(PyRowRef *o
}
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;
}
|