about summary refs log tree commit diff
path: root/lib/libpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpm.c')
-rw-r--r--lib/libpm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpm.c b/lib/libpm.c
index 88b790e6..913b1644 100644
--- a/lib/libpm.c
+++ b/lib/libpm.c
@@ -1663,9 +1663,9 @@ pm_check(FILE *               const file,
 
 
 void
-pm_drain(FILE * const fileP,
-         uint   const limit,
-         uint * const bytesReadP) {
+pm_drain(FILE *         const fileP,
+         unsigned int   const limit,
+         unsigned int * const bytesReadP) {
 /*----------------------------------------------------------------------------
   Read bytes from *fileP until EOF and return as *bytesReadP how many there
   were.
@@ -1676,7 +1676,7 @@ pm_drain(FILE * const fileP,
   didn't leave some input behind, which could mean you didn't properly
   interpret the file.
 -----------------------------------------------------------------------------*/
-    uint bytesRead;
+    unsigned int bytesRead;
     bool eof;
 
     for (bytesRead = 0, eof = false; !eof && bytesRead < 4096;) {