Fix WIN32 warning.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 22 Apr 2009 12:17:02 +0000 (12:17 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 22 Apr 2009 12:17:02 +0000 (12:17 +0000)
ssl/d1_both.c

index 1abfd0007a1d0cc9b11d9c793ae7300035a469b4..ffbe5131d78a2ecba229b14abfb75f98de802601 100644 (file)
@@ -969,7 +969,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");