]> granicus.if.org Git - graphviz/commit
emit_end_edge: squash C4244 MSVC warnings for 'nodeIntersect' calls
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 13 Mar 2022 20:50:43 +0000 (13:50 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 19 Mar 2022 05:28:30 +0000 (22:28 -0700)
commit7226e1cccca62409120e7fa3ec36a7ee17b4d927
treeddcd248e0535a45406d2953e8a878ea5b462a5e2
parentb39147bae42a35240e77985dbe4d00084a8dbd34
emit_end_edge: squash C4244 MSVC warnings for 'nodeIntersect' calls

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.
lib/common/emit.c