MSVC seems particularly pedantic about implicitly converting an unsigned 1-bit
bitfield to a bool:
warning C4244: 'function': conversion from 'unsigned int' to 'bool'
These bitfields should really be signed (`int`) but it does not seem worth the
API break to do this.
save->tooltip = obj->tooltip;
save->target = obj->target;
save->id = obj->id;
- save->explicit_tooltip = obj->explicit_tooltip;
+ save->explicit_tooltip = obj->explicit_tooltip != 0;
id = data->id;
if (!id || !*id) { /* no external id, so use the internal one */
agxbinit(&xb, SMALLBUF, buf);