- Removed deprecated casts to int for now unsigned values
This commit is contained in:
parent
887bd502d2
commit
27fdf46d16
9 changed files with 34 additions and 32 deletions
|
@ -194,7 +194,7 @@ int md2_file( const char *path, unsigned char output[16] )
|
|||
md2_starts( &ctx );
|
||||
|
||||
while( ( n = fread( buf, 1, sizeof( buf ), f ) ) > 0 )
|
||||
md2_update( &ctx, buf, (int) n );
|
||||
md2_update( &ctx, buf, n );
|
||||
|
||||
md2_finish( &ctx, output );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue