Fix VC++ warning (change had already been made to other branches).
authorDr. Stephen Henson <steve@openssl.org>
Tue, 26 Jan 2010 13:24:08 +0000 (13:24 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 26 Jan 2010 13:24:08 +0000 (13:24 +0000)
ssl/d1_both.c

index 3b9c7567b55b7d4e7776ac15b66dc1cd8d01300a..0a5c08d71395eaa2e1fc3e1494619815d8b50a38 100644 (file)
@@ -988,7 +988,7 @@ dtls1_retransmit_buffered_messages(SSL *s)
                {
                frag = (hm_fragment *)item->data;
                        if ( dtls1_retransmit_message(s,
-                               dtls1_get_queue_priority(frag->msg_header.seq, frag->msg_header.is_ccs),
+                               (unsigned short)dtls1_get_queue_priority(frag->msg_header.seq, frag->msg_header.is_ccs),
                                0, &found) <= 0 && found)
                        {
                        fprintf(stderr, "dtls1_retransmit_message() failed\n");