diff options
author | rsc <devnull@localhost> | 2005-01-14 18:05:05 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-14 18:05:05 +0000 |
commit | 399ab50aa45b7501891654b72ce7e2c8b3995ec3 (patch) | |
tree | 9f1507dc46ec5a7cc13472cecc5599d29455f63e /src/libmach | |
parent | b1a5ffdee0b71c94fb8c2934d2a9b3e307ec7833 (diff) | |
download | plan9port-399ab50aa45b7501891654b72ce7e2c8b3995ec3.tar.gz plan9port-399ab50aa45b7501891654b72ce7e2c8b3995ec3.tar.bz2 plan9port-399ab50aa45b7501891654b72ce7e2c8b3995ec3.zip |
signedness
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; |