Skip to content

Commit 013bc9b

Browse files
committed
lib: constify strchr result
1 parent 31ee668 commit 013bc9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/package_alternatives.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
static char *
4848
left(const char *str)
4949
{
50-
char *e;
50+
const char *e;
5151

5252
e = strchr(str, ':');
5353
if (!e)

0 commit comments

Comments
 (0)