]> granicus.if.org Git - graphviz/commit
core plugin: remove assumptions that pen width fits in an int
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 7 Mar 2022 04:20:55 +0000 (20:20 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 12 Mar 2022 18:54:29 +0000 (10:54 -0800)
commit2c5b50af2c0f7787ce9265f0de6a2064c2a46d4f
treeb85c5f7e91956e59804e810cbf5bb8f9fba5b3c3
parent884c7bb6d1ede9b282d7e5a6baaafa7ec434e693
core plugin: remove assumptions that pen width fits in an int

By dealing with this field consistently as a double, we retain the previous
intent while removing assumptions on the characteristics of `int`. Squashes 8
compiler warnings.
plugin/core/gvrender_core_fig.c
plugin/core/gvrender_core_mp.c