commit | b9cfaa0c7f41c7adb28755cb7bc46a624e98d3b6 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@offspark.com> | Fri Oct 11 18:58:55 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Mon Oct 14 15:50:40 2013 +0200 |
tree | 35ec6c0d3f988739532ef344678b79b3cbf42db0 | |
parent | b887f1119e2209b23b4beff34b4a8b2c78b2cf61 [diff] [blame] |
Explicit conversions and minor changes to prevent MSVC compiler warnings
diff --git a/include/polarssl/cipher.h b/include/polarssl/cipher.h index 853c7e6..5ae25c1 100644 --- a/include/polarssl/cipher.h +++ b/include/polarssl/cipher.h
@@ -379,7 +379,7 @@ return 0; if( ctx->iv_size != 0 ) - return ctx->iv_size; + return (int) ctx->iv_size; return ctx->cipher_info->iv_size; }