]> granicus.if.org Git - graphviz/commit
remove the use of C-style casts to convert void* to Visio::Render*
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 20 Apr 2021 03:26:32 +0000 (20:26 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 26 Apr 2021 14:50:02 +0000 (07:50 -0700)
commit3fbe2be3ac2a4c457b68ee6a6d531ddddcfcd49f
tree3d0e99e7a19578123f70177958034c07cd0656f3
parent68f4456423331ddb2d1cd85296c607ddf67f151e
remove the use of C-style casts to convert void* to Visio::Render*

C-style casts are unnecessarily strong to use here. A reinterpret_cast gives the
compiler a better ability to warn about misuse.
plugin/visio/gvrender_visio_vdx.cpp