aboutsummaryrefslogtreecommitdiff
path: root/programs/hash/md5sum.c
diff options
context:
space:
mode:
Diffstat (limited to 'programs/hash/md5sum.c')
-rw-r--r--programs/hash/md5sum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/hash/md5sum.c b/programs/hash/md5sum.c
index 0b9d004..2d72d99 100644
--- a/programs/hash/md5sum.c
+++ b/programs/hash/md5sum.c
@@ -83,7 +83,7 @@ static int md5_check( char *filename )
n = sizeof( line );
- while( fgets( line, n - 1, f ) != NULL )
+ while( fgets( line, (int) n - 1, f ) != NULL )
{
n = strlen( line );