diff options
author | khali <khali> | 2003-10-07 20:26:53 +0000 |
---|---|---|
committer | khali <khali> | 2003-10-07 20:26:53 +0000 |
commit | 724be1ec9d57f1325ee9b25f9d98730b57bcb3c4 (patch) | |
tree | f17ac1e4710cac8042dc2360b267d749c1a9078f /ownership.c | |
parent | 43578308fc4d2dcdb2774c9b42b5c7ba61c2f36c (diff) | |
download | dmidecode-724be1ec9d57f1325ee9b25f9d98730b57bcb3c4.tar.gz |
Fix a harmless warning on x86_64.
Diffstat (limited to 'ownership.c')
-rw-r--r-- | ownership.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ownership.c b/ownership.c index 8defc12..329d927 100644 --- a/ownership.c +++ b/ownership.c @@ -78,7 +78,7 @@ static void ownership(int fd, u32 base, const char *pname, const char *devmem) if(buf[i]<32 || (buf[i]>=127 && buf[i]<160)) buf[i]='?'; } - printf("%s\n", buf); + printf("%s\n", (char *)buf); } free(buf); |