commit | ffe8ab83da7a3c8cf19c0f8ebeb19db857707410 | [log] [tgz] |
---|---|---|
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | Sun Dec 16 03:16:05 2007 +0000 |
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | Sun Dec 16 03:16:05 2007 +0000 |
tree | 90d9e83181498cd5376f5839ee630a1d15a4dc3c | |
parent | 60fe76f38605e0e2eedb436d0945af283029c4e0 [diff] [blame] |
Fix char* signedness, by Andre Przywara. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3816 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/block-vpc.c b/block-vpc.c index 87b9d69..f76c451 100644 --- a/block-vpc.c +++ b/block-vpc.c
@@ -81,7 +81,7 @@ 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; }