From: Andre Noll Date: Wed, 5 Sep 2018 10:13:35 +0000 (+0200) Subject: blob: Avoid direct access to blob IDs. X-Git-Tag: v0.6.3~63^2 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=126b6744c6dc58160dcbcc05e2aff2be7147f02f;hp=126b6744c6dc58160dcbcc05e2aff2be7147f02f;p=paraslash.git blob: Avoid direct access to blob IDs. Some places of blob.c use read_u32() to get the blob ID from the osl object while others directly access the mapped memory through a uint32_t pointer. Besides alignment issues, this causes trouble on big endian machines. Make sure we always use the primitives from portable_io.h. ---