]> granicus.if.org Git - graphviz/commit
smyrna mTestgvpr: use a 'size_t' for 'argc'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 7 Sep 2022 03:56:37 +0000 (20:56 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 10 Sep 2022 00:11:28 +0000 (17:11 -0700)
commite78bdfba860b58bf57e8afc7e5df6f2b073d3dd1
tree7dabe92bfccaf9f5f93f101c1e8c55d7a22e4a2a
parente3189e0ee3a2625fab328981c510e00a933e6980
smyrna mTestgvpr: use a 'size_t' for 'argc'

This squashes a -Wsign-conversion warning. We need to cast back to `int` for
calling `gvpr`, but this is acceptable as the number of arguments cannot
practically exceed `INT_MAX`.
ci/clang_format.py
cmd/smyrna/gui/menucallbacks.c
cmd/smyrna/gvprpipe.c
cmd/smyrna/gvprpipe.h