From 929ba9b98f7ded89476ad6bce547e15981bc723b Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 20 Apr 2004 00:54:58 +0000 Subject: fix various bugs for sunos --- src/libmach/dwarfinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libmach/dwarfinfo.c') diff --git a/src/libmach/dwarfinfo.c b/src/libmach/dwarfinfo.c index 79065bba..82b27a33 100644 --- a/src/libmach/dwarfinfo.c +++ b/src/libmach/dwarfinfo.c @@ -544,7 +544,7 @@ getstring(DwarfBuf *b, int form, char **s) /* don't return error - maybe can proceed */ *s = nil; }else - *s = b->d->str.data + u; + *s = (char*)b->d->str.data + u; return 0; } -- cgit v1.2.3