]> git.proxmox.com Git - qemu.git/blobdiff - block-vpc.c
Quote configure's arguments and location while storing them in config_host.mak
[qemu.git] / block-vpc.c
index be74c290d12a14d73cf19bcd3946a9afb5ae7c2b..f76c4511235bfc33fa002f8dd8630cc0969058ad 100644 (file)
@@ -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;
 }