diff options
Diffstat (limited to 'block-vpc.c')
-rw-r--r-- | block-vpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block-vpc.c b/block-vpc.c index be74c290d..f76c45112 100644 --- a/block-vpc.c +++ b/block-vpc.c @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "vl.h" +#include "qemu-common.h" #include "block_int.h" /**************************************************************/ @@ -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; } |