commit cbb35faca2dd0bef98f640a9a0a87ca48c429454 from: Tracey Emery via: Thomas Adam date: Sun Jun 25 17:34:21 2023 UTC Fix for cc1: warnings being treated as errors /home/got/src/got/tog/tog.c: In function 'draw_tree_entries': /home/got/src/got/tog/tog.c:7307: warning: comparisons like X<=3DY<=3DZ do = not have their mathematical meaning commit - b993e8cc5032750ca5c8382d60cf1def7057abea commit + cbb35faca2dd0bef98f640a9a0a87ca48c429454 blob - 11c1fd527fef5bf80e8306b010d4ab0c2feeb3c6 blob + 2f8f6f6dd53d12499d33c43690763d5bfc87401e --- tog/tog.c +++ tog/tog.c @@ -7308,7 +7308,7 @@ draw_tree_entries(struct tog_view *view, const char *p free(id_str); return err; } - for (i = 0; i < link_target[i] != '\0'; i++) { + for (i = 0; link_target[i] != '\0'; i++) { if (!isprint((unsigned char)link_target[i])) link_target[i] = '?'; }