diff --git a/tester/log_collection_tester.c b/tester/log_collection_tester.c index 4f58223d3..0c2f30c3a 100644 --- a/tester/log_collection_tester.c +++ b/tester/log_collection_tester.c @@ -32,7 +32,7 @@ /*getline is POSIX 2008, not available on many systems.*/ #if defined(ANDROID) || defined(_WIN32) || defined(__QNX__) /* This code is public domain -- Will Hartung 4/9/09 */ -static size_t getline(char **lineptr, size_t *n, FILE *stream) { +static ssize_t getline(char **lineptr, size_t *n, FILE *stream) { char *bufptr = NULL; char *p = bufptr; size_t size;