commit | 5a5ee60fd38a152492e4886420d369800809a4d7 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Mar 30 15:28:36 2010 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Mar 30 15:30:14 2010 +0200 |
tree | d880643c3de69fbdbeed92ee4bd7ce002a5a8b49 | |
parent | 29645dda79e2d0416169093994ee74e432ecde12 [diff] |
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