From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Wed, 18 May 2011 11:40:45 +0200 References: <1305407694-16789-1-git-send-email-sven@narfation.org> <1305407694-16789-4-git-send-email-sven@narfation.org> In-Reply-To: <1305407694-16789-4-git-send-email-sven@narfation.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201105181140.46093.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH 4/9] batman-adv: Don't do pointer arithmetic with void* Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Saturday 14 May 2011 23:14:49 Sven Eckelmann wrote: > The size of void is currently set by gcc to 1, but is not well defined > in general. Therefore it is more advisable to cast it to char* before > doing pointer arithmetic. Applied in revision f896bd9. Thanks, Marek