summaryrefslogtreecommitdiff
path: root/block-vpc.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-16 03:16:05 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-16 03:16:05 +0000
commitffe8ab83da7a3c8cf19c0f8ebeb19db857707410 (patch)
tree90d9e83181498cd5376f5839ee630a1d15a4dc3c /block-vpc.c
parent60fe76f38605e0e2eedb436d0945af283029c4e0 (diff)
downloadqemu-ffe8ab83da7a3c8cf19c0f8ebeb19db857707410.tar.gz
qemu-ffe8ab83da7a3c8cf19c0f8ebeb19db857707410.tar.bz2
qemu-ffe8ab83da7a3c8cf19c0f8ebeb19db857707410.zip
Fix char* signedness, by Andre Przywara.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3816 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block-vpc.c')
-rw-r--r--block-vpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block-vpc.c b/block-vpc.c
index 87b9d69a64..f76c451123 100644
--- a/block-vpc.c
+++ b/block-vpc.c
@@ -81,7 +81,7 @@ typedef struct BDRVVPCState {
static int vpc_probe(const uint8_t *buf, int buf_size, const char *filename)
{
- if (buf_size >= 8 && !strncmp(buf, "conectix", 8))
+ if (buf_size >= 8 && !strncmp((char *)buf, "conectix", 8))
return 100;
return 0;
}