message: using memcpy instead of statements with undefined behavior
diff: @@ -191,8 +191,7 @@ namespace Fw {
  SerializeStatus SerializeBufferBase::serialize(F64 val) {
  // floating point values need to be byte-swapped as well, so copy to U64 and use that routine
  U64 u64Val;
  -
  - *reinterpret_cast<F64*>(&u64Val) = val;
  + (void) memcpy(&u64Val, &val, sizeof(val));
  return this->serialize(u64Val);
  }
  @@ -203,8 +202,7 @@ namespace Fw {
  // floating point values need to be byte-swapped as well, so copy to U32 and use that routine
  U32 u32Val;
  -
  - *reinterpret_cast<F32*>(&u32Val) = val;
  + (void) memcpy(&u32Val, &val, sizeof(val));
  return this->serialize(u32Val);
  }
  @@ -446,9 +444,8 @@ namespace Fw {
  if (stat != FW_SERIALIZE_OK) {
  return stat;
  }
  -
  // copy to argument
  - val = *reinterpret_cast<F64*>(&tempVal);
  + (void) memcpy(&val, &tempVal, (NATIVE_UINT_TYPE)sizeof(val));
  return FW_SERIALIZE_OK;
  }
  @@ -487,9 +484,7 @@ namespace Fw {
  if (stat != FW_SERIALIZE_OK) {
  return stat;
  }
  -
  - // copy to argument
  - val = *reinterpret_cast<F32*>(&tempVal);
  + (void) memcpy(&val, &tempVal, sizeof(val));
  return FW_SERIALIZE_OK;
  }
  