diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-16 13:53:32 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-16 13:53:32 +0000 |
commit | cd390083ad1fea1ddb93df9c5560eba0a9f26a0d (patch) | |
tree | 8594a86a0760b7e393a75e883d00256c29e9ed00 /net.c | |
parent | 77b9435f13238ad4b656f8543cea5498e8a0e2a1 (diff) | |
download | qemu-cd390083ad1fea1ddb93df9c5560eba0a9f26a0d.zip qemu-cd390083ad1fea1ddb93df9c5560eba0a9f26a0d.tar.gz qemu-cd390083ad1fea1ddb93df9c5560eba0a9f26a0d.tar.bz2 |
Attached patch fixes a series of this warning
when compiling on NetBSD:
warning: array subscript has type 'char'
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5727 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'net.c')
-rw-r--r-- | net.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -268,7 +268,7 @@ int parse_host_port(struct sockaddr_in *saddr, const char *str) if (buf[0] == '\0') { saddr->sin_addr.s_addr = 0; } else { - if (isdigit(buf[0])) { + if (qemu_isdigit(buf[0])) { if (!inet_aton(buf, &saddr->sin_addr)) return -1; } else { |