From b55266b5a235afe7b0aa946e2a6d49010f35e71c Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sat, 20 Sep 2008 08:07:15 +0000 Subject: Suppress gcc 4.x -Wpointer-sign (included in -Wall) warnings git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5275 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/usb-net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/usb-net.c') diff --git a/hw/usb-net.c b/hw/usb-net.c index a4714c5bc3..82005af568 100644 --- a/hw/usb-net.c +++ b/hw/usb-net.c @@ -681,8 +681,8 @@ static int ndis_query(USBNetState *s, uint32_t oid, /* mandatory */ case OID_GEN_VENDOR_DESCRIPTION: - pstrcpy(outbuf, outlen, "QEMU USB RNDIS Net"); - return strlen(outbuf) + 1; + pstrcpy((char *)outbuf, outlen, "QEMU USB RNDIS Net"); + return strlen((char *)outbuf) + 1; case OID_GEN_VENDOR_DRIVER_VERSION: *((le32 *) outbuf) = cpu_to_le32(1); -- cgit v1.2.3