Forced cast to prevent MSVC compiler warning
diff --git a/library/ssl_cli.c b/library/ssl_cli.c
index b3521d3..bb2afb2 100644
--- a/library/ssl_cli.c
+++ b/library/ssl_cli.c
@@ -1886,7 +1886,7 @@
             ssl->out_msg[i++] = (unsigned char)( n      );
 
             ret = dhm_make_public( &ssl->handshake->dhm_ctx,
-                    mpi_size( &ssl->handshake->dhm_ctx.P ),
+                    (int) mpi_size( &ssl->handshake->dhm_ctx.P ),
                     &ssl->out_msg[i], n,
                     ssl->f_rng, ssl->p_rng );
             if( ret != 0 )