]> granicus.if.org Git - graphviz/commit
twopigen: use a 'uint64_t' for infinity sentinel
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 29 Nov 2022 01:26:18 +0000 (17:26 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 4 Dec 2022 23:35:13 +0000 (15:35 -0800)
commitdae38d5fe4f88289d2abd18d6d1a971ef0625812
tree7fbde473a59d1aa57bed4d77a806bf324bbbfc2c
parentb5cd3f4f91ce9fd930ec0d10ada8aee160239ab7
twopigen: use a 'uint64_t' for infinity sentinel

This value is guaranteed to not be negative (an `int` multiplied by itself is
non-negative) and later is compared against `uint64_t` values. So this change
squashes a couple of warnings.
lib/twopigen/circle.c