mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-18 12:47:21 -04:00

ssl_helpers.c is treated with W3 warning level in MSVC complier. So that it's reported as error for warning of conversion from size_t to int. This change fixes all this type of warning seen in Microsoft Visual Studio 12.0. Besides, some potential problems of type conversion are also handled. Signed-off-by: Yanray Wang <yanray.wang@arm.com>