diff options
| author | Jason A. Donenfeld <Jason@zx2c4.com> | 2026-05-05 00:03:22 +0300 |
|---|---|---|
| committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2026-05-05 00:03:51 +0300 |
| commit | 5a0f900569f421422bd7511a45c7346c7668e710 (patch) | |
| tree | 111f377a9925e7ba5dcc39c10d691c9a240b8114 /ui-blame.c | |
| parent | 44ca1d1ec8eee7f4440fbfd613fc1072a14b441c (diff) | |
global: fix libc constness warnings
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui-blame.c')
| -rw-r--r-- | ui-blame.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -263,7 +263,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; |
