/* Copy the 4 byte value from v into the memory location pointed to by *cp,
If your architecture allows unaligned access this is equivalent to
* (uint32_t *) cp = v */
-static void
+static inline void
set_uint32 (char *cp, uint32_t v)
{
memcpy (cp, &v, sizeof v);