From 8a52cd3780b18e690041c8c22e4f20bd4dc766cc Mon Sep 17 00:00:00 2001 From: toddouska Date: Fri, 1 Jun 2012 14:37:39 -0700 Subject: [PATCH] byte warning casts --- src/internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index 4e807f1bd..c8a753055 100644 --- a/src/internal.c +++ b/src/internal.c @@ -4673,7 +4673,7 @@ int SetCipherList(Suites* s, const char* list) /* precede export with 1 byte length */ ret = ecc_export_x963(&myKey, encSecret + 1, &size); - encSecret[0] = size; + encSecret[0] = (byte)size; encSz = size + 1; if (ret != 0)