commit | 2657abfe354bc548f2c90be2a627d927137cf1c8 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Thu Oct 22 15:34:37 2009 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Thu Oct 22 15:34:37 2009 +0200 |
tree | 56af8d3859d4e4178c3f5eddd24f54d5fdfd9d7d | |
parent | b5280c7bc4b3a4540356e2700afd27f0eb177ed4 [diff] |
[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.