diff options
| Commit | 5a0f900569f421422bd7511a45c7346c7668e710 (patch) | |
|---|---|---|
| Author | 2026-05-04 23:03:22 +0200 | |
| Committer | 2026-05-04 23:03:51 +0200 | |
| Files | 111f377a9925e7ba5dcc39c10d691c9a240b8114 /ui-plain.c | |
| cgit-5a0f900569f421422bd7511a45c7346c7668e710.tar cgit-5a0f900569f421422bd7511a45c7346c7668e710.tar.gz cgit-5a0f900569f421422bd7511a45c7346c7668e710.zip | ||
| Parent | 44ca1d1ec8eee7f4440fbfd613fc1072a14b441c (diff) | |
global: fix libc constness warnings
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | ui-plain.c | 2 |
@@ -157,7 +157,7 @@ static int walk_tree(const struct object_id *oid, struct strbuf *base, static int basedir_len(const char *path) { - char *p = strrchr(path, '/'); + const char *p = strrchr(path, '/'); if (p) return p - path + 1; return 0; |
