Fix some suspect warnings on Windows
authorMatt Caswell <matt@openssl.org>
Thu, 26 May 2016 13:47:17 +0000 (14:47 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 26 May 2016 16:18:39 +0000 (17:18 +0100)
commit753be41d592e53189fc3905a2d45fd51de9aeaea
tree5aeaccae68e58035de886542cf3dba73bbc69ac5
parentea32151f7b9353f8906188d007c6893704ac17bb
Fix some suspect warnings on Windows

Windows was complaining about a unary minus operator being applied to an
unsigned type. It did seem to go on and do the right thing anyway, but the
code does look a little suspect. This fixes it.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
ssl/record/rec_layer_d1.c
ssl/record/rec_layer_s3.c
ssl/record/record_locl.h