]> granicus.if.org Git - graphviz/commit
xdot parsePolyline: squash -Wconversion warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 10 Aug 2022 00:39:45 +0000 (17:39 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 10 Aug 2022 15:47:29 +0000 (08:47 -0700)
commit8be95b6f62bed93f5116e2fde657245008dd9932
tree561f10e8c28b62afc35f309d2b8c5f38ac50a6c4
parent62f406a5b9f38f5608e8e8c7cfbdbe44f1c7077f
xdot parsePolyline: squash -Wconversion warning

This code parses an int, but then uses it to allocate an array, so clearly
should take the error path when the parsed int is negative.
lib/xdot/xdot.c