From 443d6288386f5521efa7d49bc8ea5be04f5fd696 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 19 Feb 2012 18:11:39 -0500 Subject: libmach, acid, db: 64-bit support --- src/libmach/symstabs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/libmach/symstabs.c') diff --git a/src/libmach/symstabs.c b/src/libmach/symstabs.c index 472dd872..a8c2af71 100644 --- a/src/libmach/symstabs.c +++ b/src/libmach/symstabs.c @@ -254,6 +254,7 @@ stabssyminit(Fhdr *fp) break; } } + USED(locals); free(inc); return 0; @@ -263,7 +264,7 @@ err: } static int -stabspc2file(Fhdr *fhdr, ulong pc, char *buf, uint nbuf, ulong *pline) +stabspc2file(Fhdr *fhdr, u64int pc, char *buf, uint nbuf, ulong *pline) { int i; Symbol *s; @@ -298,7 +299,7 @@ stabspc2file(Fhdr *fhdr, ulong pc, char *buf, uint nbuf, ulong *pline) } static int -stabsline2pc(Fhdr *fhdr, ulong startpc, ulong line, ulong *pc) +stabsline2pc(Fhdr *fhdr, u64int startpc, ulong line, u64int *pc) { int i, trigger; Symbol *s; -- cgit v1.2.3