From owner-svn-src-head@FreeBSD.ORG Tue Dec 6 07:55:25 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D2B0106566C; Tue, 6 Dec 2011 07:55:25 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7CEFB8FC13; Tue, 6 Dec 2011 07:55:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pB67tP0i078742; Tue, 6 Dec 2011 07:55:25 GMT (envelope-from hselasky@svn.freebsd.org) Received: (from hselasky@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pB67tPQC078740; Tue, 6 Dec 2011 07:55:25 GMT (envelope-from hselasky@svn.freebsd.org) Message-Id: <201112060755.pB67tPQC078740@svn.freebsd.org> From: Hans Petter Selasky Date: Tue, 6 Dec 2011 07:55:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r228303 - head/sys/dev/usb/wlan X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 07:55:25 -0000 Author: hselasky Date: Tue Dec 6 07:55:25 2011 New Revision: 228303 URL: http://svn.freebsd.org/changeset/base/228303 Log: Fix compile warning when using clang to compile the code. Submitted by: arundel @ MFC after: 3 days Modified: head/sys/dev/usb/wlan/if_zyd.c Modified: head/sys/dev/usb/wlan/if_zyd.c ============================================================================== --- head/sys/dev/usb/wlan/if_zyd.c Tue Dec 6 06:40:14 2011 (r228302) +++ head/sys/dev/usb/wlan/if_zyd.c Tue Dec 6 07:55:25 2011 (r228303) @@ -686,7 +686,7 @@ zyd_intr_read_callback(struct usb_xfer * memcpy(rqp->odata, cmd->data, rqp->olen); DPRINTF(sc, ZYD_DEBUG_CMD, "command %p complete, data = %*D \n", - rqp, rqp->olen, rqp->odata, ":"); + rqp, rqp->olen, (char *)rqp->odata, ":"); wakeup(rqp); /* wakeup caller */ break; }