From owner-freebsd-arm@FreeBSD.ORG Tue Jun 19 10:18:50 2007 Return-Path: X-Original-To: arm@freebsd.org Delivered-To: freebsd-arm@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B355C16A468 for ; Tue, 19 Jun 2007 10:18:50 +0000 (UTC) (envelope-from bkoenig@alpha-tierchen.de) Received: from mail.liberty-hosting.de (mail.smartterra.de [195.225.132.203]) by mx1.freebsd.org (Postfix) with ESMTP id 735B613C45E for ; Tue, 19 Jun 2007 10:18:50 +0000 (UTC) (envelope-from bkoenig@alpha-tierchen.de) Received: from mail.liberty-hosting.de ([195.225.132.203]) by localhost (liberty-mail [195.225.132.203]) (amavisd-new, port 10024) with ESMTP id 09725-08 for ; Tue, 19 Jun 2007 12:18:47 +0200 (CEST) Received: from home.alpha-tierchen.de (port-212-202-42-120.dynamic.qsc.de [212.202.42.120]) by mail.liberty-hosting.de (Postfix) with ESMTP id A4D7B180DEF for ; Tue, 19 Jun 2007 12:18:47 +0200 (CEST) Received: from webmail.alpha-tierchen.de (localhost [127.0.0.1]) by home.alpha-tierchen.de (Postfix) with ESMTP id 2203745046 for ; Tue, 19 Jun 2007 12:18:46 +0200 (CEST) Received: from 2001:6f8:101e:0:20e:cff:fe6d:6adb (SquirrelMail authenticated user bkoenig) by webmail.alpha-tierchen.de with HTTP; Tue, 19 Jun 2007 12:18:46 +0200 (CEST) Message-ID: <62351.2001:6f8:101e:0:20e:cff:fe6d:6adb.1182248326.squirrel@webmail.alpha-tierchen.de> Date: Tue, 19 Jun 2007 12:18:46 +0200 (CEST) From: =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= To: arm@freebsd.org User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: multipart/mixed;boundary="----=_20070619121846_46337" X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at mail.smartterra.de Cc: Subject: libat91 doesn't compile X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jun 2007 10:18:50 -0000 ------=_20070619121846_46337 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hello, the compilation of libat91 fails because of a compiler warning: emac.c: In function 'CheckForNewPacket': emac.c:326: warning: pointer targets in passing argument 1 of 'TFTP_ACK_Data' differ in signedness Please add a simple explicit cast to (char *). Björn ------=_20070619121846_46337 Content-Type: text/x-diff; name="emac.c.diff" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="emac.c.diff" --- src/sys/boot/arm/at91/libat91/emac.c.orig 2007-03-29 00:40:37.000000000 +0200 +++ src/sys/boot/arm/at91/libat91/emac.c 2007-06-19 12:10:52.000000000 +0200 @@ -321,7 +321,7 @@ if (serverPort != udpHdr->src_port) break; - TFTP_ACK_Data(tftpHdr->data, + TFTP_ACK_Data((char *)tftpHdr->data, SWAP16(tftpHdr->block_num), SWAP16(udpHdr->udp_len) - 12); } ------=_20070619121846_46337--