db: Fix aliasing warning by casting the signed char to a struct

When we have assigned the cn we will use mempcy to copy the one
byte into the target. Use a static assert to assure that the type
have the same size.

warning: dereferencing type-punned pointer will break strict-aliasing rules
1 file changed
tree: d880643c3de69fbdbeed92ee4bd7ce002a5a8b49
  1. hlrsync/
  2. libosmocore/
  3. linux-kernel/
  4. openbsc/
  5. rrlp-ephemeris/
  6. wireshark/