commit | eb12526a4a9583015a19345aac1c89c265a75c70 | [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 | 21ee3f92ff10a0d8c82bc47fa504bbfa82970934 [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.