12345678910111213 |
- $OpenBSD: patch-libcompat_strchrnul_c,v 1.1 2016/01/22 11:38:23 sthen Exp $
- --- libcompat/strchrnul.c.orig Wed Jan 20 01:28:25 2016
- +++ libcompat/strchrnul.c Wed Jan 20 01:29:38 2016
- @@ -12,7 +12,7 @@ char *strchrnul(const char *s, int c)
-
- if (p == NULL)
- {
- - return s + strlen(s);
- + return (char *)s + strlen(s);
- }
- else
- {
|