diff options
Diffstat (limited to 'block-vpc.c')
-rw-r--r-- | block-vpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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; } |