diff options
Diffstat (limited to 'src/libmach')
-rw-r--r-- | src/libmach/elfdl386.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmach/elfdl386.c b/src/libmach/elfdl386.c index c232d611..a2439158 100644 --- a/src/libmach/elfdl386.c +++ b/src/libmach/elfdl386.c @@ -53,7 +53,7 @@ getstr(Map *map, ulong addr, char *buf, uint nbuf) int i; for(i=0; i<nbuf; i++){ - if(get1(map, addr+i, buf+i, 1) < 0) + if(get1(map, addr+i, (uchar*)buf+i, 1) < 0) return -1; if(buf[i] == 0) return 0; |