Skip to content

Commit 608be24

Browse files
authored
gnu.cfg: strcasestr wrong return type (#4776)
1 parent 119a681 commit 608be24

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cfg/gnu.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -980,10 +980,10 @@
980980
<warn severity="style" reason="Obsolescent" alternatives="sprintf"/>
981981
</function>
982982
<!-- https://www.gnu.org/software/gnulib/manual/html_node/c_002dstrcasestr.html -->
983-
<!-- size_t strcasestr(const char *s1, const char *s2); -->
983+
<!-- char* strcasestr(const char *s1, const char *s2); -->
984984
<function name="strcasestr">
985985
<use-retval/>
986-
<returnValue type="size_t"/>
986+
<returnValue type="char *"/>
987987
<noreturn>false</noreturn>
988988
<leak-ignore/>
989989
<pure/>

0 commit comments

Comments
 (0)