aboutsummaryrefslogtreecommitdiff
path: root/locale/programs/linereader.h
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/linereader.h')
-rw-r--r--locale/programs/linereader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/linereader.h b/locale/programs/linereader.h
index b78697e87d..bf5f1bccc9 100644
--- a/locale/programs/linereader.h
+++ b/locale/programs/linereader.h
@@ -117,7 +117,7 @@ lr_ungetc (struct linereader *lr, int ch)
static inline int
-lr_ungetn (struct linereader *lr, int n)
+lr_ungetn (struct linereader *lr, size_t n)
{
if (lr->idx < n)
return -1;