From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Scholz Date: Fri, 10 Jun 2005 17:05:23 +0200 Subject: [U-Boot-Users] byteorder of image_header_t members? In-Reply-To: <42A97ECC.5030708@imc-berlin.de> References: <42A97ECC.5030708@imc-berlin.de> Message-ID: <42A9AC33.5020204@imc-berlin.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi there, I wrote: > if uint32_t members of image_header_t are stored in network byteorder, > then all references of these members should use ntohl(), right? > > So should we fix this for instance: Maybe you want to consider the attached patch. * Patch by Steven Scholz, 10 Jun 2005: Adding loads of ntohl() in image header handling (for the sake of readability) -- Steven -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: u-boot_htonl.patch Url: http://lists.denx.de/pipermail/u-boot/attachments/20050610/f9900e57/attachment.txt