diff options
Diffstat (limited to 'pass_util.c')
-rw-r--r-- | pass_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pass_util.c b/pass_util.c index 01fb8b3..e366cde 100644 --- a/pass_util.c +++ b/pass_util.c @@ -99,9 +99,9 @@ const char *pass_cat(const char *path) return r ? NULL : pass_out; } -size_t pass_getpass(char **lineptr, size_t *n, FILE *stream) +ssize_t pass_getpass(char **lineptr, size_t *n, FILE *stream) { - int r; + ssize_t r; struct termios new, old; r = tcgetattr(fileno(stream), &old); |