Commit 3eb45ed
committed
Fix type of value assigned from strlen() in getline.c
This was declared as int, but strlen() in posix returns size_t.
https://pubs.opengroup.org/onlinepubs/009604499/functions/strlen.html1 parent 93e1cb1 commit 3eb45ed
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
982 | 982 | | |
983 | 983 | | |
984 | 984 | | |
985 | | - | |
| 985 | + | |
986 | 986 | | |
987 | 987 | | |
988 | 988 | | |
| |||
0 commit comments