]> granicus.if.org Git - graphviz/commit
colxlate canoncolor: operate on 'char' instead of 'unsigned char'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 17 Sep 2021 03:35:44 +0000 (20:35 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 19 Sep 2021 23:20:33 +0000 (16:20 -0700)
commitb788b55fd7129acef5ed644971c00b369757034e
tree2b61caf40b305e3689d33a245c419ca2c1925b94
parenta47aab02c11855e3bad7accebbc583a56bfe1c36
colxlate canoncolor: operate on 'char' instead of 'unsigned char'

It is unclear to me why this code was using unsigned char variables. This was
unnecessary, induced noisy casting and caused build warnings. This also changes
the `orig` parameter to a const pointer as the function does not modify the
pointed to data.
cmd/tools/colxlate.c