commit | 902751a19e34817725b056c401ee28b343a22c52 | [log] [tgz] |
---|---|---|
author | Attie Grande <attie.grande@argentum-systems.co.uk> | Mon Jan 15 14:50:53 2024 +0000 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Mon Jan 22 09:48:33 2024 +0000 |
tree | eeec4f934ead03ea7b2ca90fad75d8dd52a43652 | |
parent | 554f2ba08e13f48571c3b91c824b4be41c4848b6 [diff] |
cmake: hex: fix conversion of zero to hex Previously, `to_hex(0 output)` would have placed `0x` into the `output` variable, which is undesirable... this fix ensures that `0x0` is placed into this variable if the input is zero. Signed-off-by: Attie Grande <attie.grande@argentum-systems.co.uk>