aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl/rec_wri.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-02-24 13:50:39 +0000
committerlloyd <[email protected]>2010-02-24 13:50:39 +0000
commit01a6b5d010f459e8eeb0ef2ce97ecaf885ae1809 (patch)
treea54e3508b3d35304162ccce2623fc0706660a3f4 /src/ssl/rec_wri.cpp
parent27d84b179913a82849c3994e8724dbec379dab52 (diff)
Post-merge fixups
Diffstat (limited to 'src/ssl/rec_wri.cpp')
-rw-r--r--src/ssl/rec_wri.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssl/rec_wri.cpp b/src/ssl/rec_wri.cpp
index 258b4ec17..842b2698c 100644
--- a/src/ssl/rec_wri.cpp
+++ b/src/ssl/rec_wri.cpp
@@ -250,7 +250,7 @@ void Record_Writer::send_record(byte type, byte major, byte minor,
*/
void Record_Writer::alert(Alert_Level level, Alert_Type type)
{
- byte alert[2] = { level, type };
+ byte alert[2] = { (byte)level, (byte)type };
send(ALERT, alert, sizeof(alert));
flush();
}