Avoid warning on Win32.
[openssl.git] / ssl / ssl.h
index 120c7a30ebfdd1825c82e3eec9645bfe490c0ff4..0fd8ea3c8413ce6d2c9bc4e653c002a6216ab608 100644 (file)
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -754,7 +754,7 @@ struct ssl_ctx_st
         * actual record size can be more than this due to
         * padding and MAC overheads.
         */
-       int max_send_fragment;
+       unsigned int max_send_fragment;
        };
 
 #define SSL_SESS_CACHE_OFF                     0x0000
@@ -976,7 +976,7 @@ struct ssl_st
        int first_packet;
        int client_version;     /* what was passed, used for
                                 * SSLv3/TLS rollback check */
-       int max_send_fragment;
+       unsigned int max_send_fragment;
        };
 
 #ifdef __cplusplus