]> granicus.if.org Git - mutt/commit
Fix the hcache type punning warning.
authorKevin McCarthy <kevin@8t8.us>
Sat, 17 Jan 2015 22:42:28 +0000 (14:42 -0800)
committerKevin McCarthy <kevin@8t8.us>
Sat, 17 Jan 2015 22:42:28 +0000 (14:42 -0800)
commitca515b5a735be4d088737fbd7c3873600afe8fd3
tree1afb6a8ab68e93ab2c39fd4de684ef61fb4fce8d
parent6e25bab4dca20f219d306070c1a0cda05c42f133
Fix the hcache type punning warning.

This patch fixes the type punning warning by switching from (safe but
perhaps not elegant) casting to using a union.

Thanks to Vincent Lefevre for his input and suggestion to use the union
as a better solution to the problem!
hcache.c