diff options
author | lloyd <[email protected]> | 2010-03-13 18:06:31 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-13 18:06:31 +0000 |
commit | 47dbe2b1ab08dad17b157f9ed59767c44256f11d (patch) | |
tree | 3e664ae407107990519a8865580477aa734d2af3 /src/ssl/rec_wri.cpp | |
parent | 7859fcfd64579d0539b7d16e7a576f936ccc1f97 (diff) | |
parent | 6a8c00e903ea63828319460133a651c410b86185 (diff) |
propagate from branch 'net.randombit.botan' (head 5e9c6107cbb15744c2edf2eb0e23f4bfe949f432)
to branch 'net.randombit.botan.c++0x' (head 79e5920a8bba479b9e5734f8649b8c36d27d403c)
Diffstat (limited to 'src/ssl/rec_wri.cpp')
-rw-r--r-- | src/ssl/rec_wri.cpp | 2 |
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(); } |