From: Stefan Roese Date: Wed, 1 Feb 2017 12:41:44 +0100 Subject: [U-Boot] [PATCH v2 11/18] tools: kwbimage: Fix arithmetic with void pointers In-Reply-To: <20170111150102.7399-12-mario.six@gdsys.cc> References: <20170111150102.7399-1-mario.six@gdsys.cc> <20170111150102.7399-12-mario.six@gdsys.cc> Message-ID: <7761cef8-377f-9014-4962-033e9ede42a5@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11.01.2017 16:00, Mario Six wrote: > Arithmetic with void pointers, e.g. a - b where both a and b are void > pointers, is undefined in the C standard. Since we are operating with > byte data here, we switch the void pointers to uint8_t pointers, and add > the necessary casts. > > Signed-off-by: Mario Six > --- > Changes in v2: > > None Applied to u-boot-marvell/master Thanks, Stefan