[db] Fix compile warnings in db.c

For the compiler classmark1 is a struct and the compiler is
unaware that it fits into an unsigned int. Use memcpy to
copy it to a u_int8_t (the compiler should inline this).

dbi_conn_quote_binary_copy works on unsigned char* change
q_apdu to be unsigned char.
1 file changed
tree: 56af8d3859d4e4178c3f5eddd24f54d5fdfd9d7d
  1. hlrsync/
  2. linux-kernel/
  3. openbsc/
  4. wireshark/