]> granicus.if.org Git - openssl/commitdiff
fix signed/unsigned warning
authorDr. Stephen Henson <steve@openssl.org>
Mon, 26 Sep 2011 17:04:41 +0000 (17:04 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 26 Sep 2011 17:04:41 +0000 (17:04 +0000)
ssl/ssl_lib.c

index da7576648f5a886c2b487d48cbc2f4811e371889..4ebdde2fa394875906a4fa31ee4c180f7bce8b3a 100644 (file)
@@ -1065,7 +1065,7 @@ long SSL_ctrl(SSL *s,int cmd,long larg,void *parg)
                s->max_cert_list=larg;
                return(l);
        case SSL_CTRL_SET_MTU:
-               if (larg < dtls1_min_mtu())
+               if (larg < (long)dtls1_min_mtu())
                        return 0;
 
                if (SSL_version(s) == DTLS1_VERSION ||