commit | 27fdf46d16a32c9f3e95458bd57a06ba365c8fe9 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Thu Jun 09 13:55:13 2011 +0000 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Thu Jun 09 13:55:13 2011 +0000 |
tree | 98117b33b608e2f22726b2f25a07116df867c028 | |
parent | 887bd502d2f2052816adbb21be254b254ad8d9a0 [diff] [blame] |
- Removed deprecated casts to int for now unsigned values
diff --git a/library/sha2.c b/library/sha2.c index 385c048..9cc88e8 100644 --- a/library/sha2.c +++ b/library/sha2.c
@@ -346,7 +346,7 @@ sha2_starts( &ctx, is224 ); while( ( n = fread( buf, 1, sizeof( buf ), f ) ) > 0 ) - sha2_update( &ctx, buf, (int) n ); + sha2_update( &ctx, buf, n ); sha2_finish( &ctx, output );