mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
ed(1): Preserve const qualifier on strchr(3) result
Reviewed by: fuz Approved by: fuz (mentor) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D59773
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -297,7 +297,7 @@ put_tty_line(const char *s, int l, long n, int gflag)
|
||||
{
|
||||
int col = 0;
|
||||
int lc = 0;
|
||||
char *cp;
|
||||
const char *cp;
|
||||
wchar_t wc;
|
||||
mbstate_t mbs;
|
||||
size_t clen;
|
||||
|
||||
Reference in new issue
Block a user