On Sep 10, 2014, at 4:23 PM, Jeff Squyres (jsquyres) <jsquy...@cisco.com> wrote:

> Regardless, what do we do about this?

To answer my own question, I guess we can replace:

   dst->intval = int_value

with

   int *bogus = (int*) dst;
   *bogus = int_value;

and do a similar thing for the bool.

Seems kludgey, and kinda defeats the point of having a union, though.

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

Reply via email to