commit | 1deb5be9cc55020de2443456ed5c5df2f7c208e4 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Wed Aug 26 16:43:36 2020 +0200 |
committer | GitHub <noreply@github.com> | Wed Aug 26 16:43:36 2020 +0200 |
tree | ac03f555d1cefc7f96d1b238226c0fa419b2ef60 | |
parent | 22df3f0273d05e5a6c5d31cbd251ea36b5c2b93b [diff] [blame] |
libyang REFACTOR use size-specific int types instead of generic types (#1177) Align parameters' types with the values in (internal) structures.
diff --git a/compat/compat.c b/compat/compat.c index 1ae54f6..0ed350a 100644 --- a/compat/compat.c +++ b/compat/compat.c
@@ -128,7 +128,7 @@ { static char line[256]; char *ptr; - unsigned int len; + ssize_t len; if (!lineptr || !n) { errno = EINVAL;