Fix build for Windows 10.

This commit is contained in:
Ghislain MARY 2016-11-10 11:42:13 +01:00
parent 16838f351b
commit a49af3e965

View file

@ -84,7 +84,7 @@ static ssize_t getline(char **lineptr, size_t *n, FILE *stream) {
*lineptr = bufptr;
*n = size;
return p - bufptr - 1;
return (ssize_t)(p - bufptr) - 1;
}
#endif