summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2008-12-25 11:55:27 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2008-12-25 11:55:27 +0100
commit083c43e22efb5353a258827a9e6f2f995cfe822d (patch)
treee63fafb2dbc57bcf120234e96e48ea755502f546 /lib
parent165a62272720071ca5e9ed1badfddc78b7a7af10 (diff)
downloadbird-083c43e22efb5353a258827a9e6f2f995cfe822d.tar
bird-083c43e22efb5353a258827a9e6f2f995cfe822d.zip
fixes some 64-bit related bugs.
Filter code used 'aux' integer field of 'symbol' struct to store ptr to next symbol and both 'aux2' and 'def' fields for value. Changed to just 'def' for value and 'aux2' for ptr to next symbol. Also another minor bugfix.
Diffstat (limited to 'lib')
-rw-r--r--lib/resource.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/resource.c b/lib/resource.c
index 1b91507..9e62681 100644
--- a/lib/resource.c
+++ b/lib/resource.c
@@ -165,8 +165,8 @@ rdump(void *res)
char x[16];
resource *r = res;
- bsprintf(x, "%%%ds%%08x ", indent);
- debug(x, "", (int) r);
+ bsprintf(x, "%%%ds%%p ", indent);
+ debug(x, "", r);
if (r)
{
debug("%s ", r->class->name);