]> granicus.if.org Git - graphviz/commit
nearest_neighbor_graph: cast the result of calls to 'malloc'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 8 Jan 2022 18:47:32 +0000 (10:47 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 11 Jan 2022 15:51:48 +0000 (07:51 -0800)
commite76dc5bf715a88bb48ded12528285aeeda66c792
treed8f4c5837af34ddbb7a17a915a084c71ad0dad70
parent7b70e4938b29a334fb39ab1f0df0bb3c0ed347f8
nearest_neighbor_graph: cast the result of calls to 'malloc'

This pre-emptively suppresses some `-fpermissive` warnings when transitioning
this code to C++ in an upcoming commit.

Gitlab: #2154
lib/mingle/nearest_neighbor_graph.c