audk/CryptoPkg
Gary Lin 108ff4a04b CryptoPkg/IntrinsicLib: Fix the warning on memset
Gcc issued the warning when compiling CryptoPkg:

CryptoPkg/Library/Include/CrtLibSupport.h:135:17: warning: type of 'memset' does not match original declaration [-Wlto-type-mismatch]
 void           *memset     (void *, int, size_t);
                 ^
CryptoPkg/Library/IntrinsicLib/MemoryIntrinsics.c:27:8: note: type mismatch in parameter 2
 void * memset (void *dest, char ch, size_t count)
        ^

This commit changes the type of ch from char to int to match the
declaration.

Cc: Qin Long <qin.long@intel.com>
Cc: Ting Ye <ting.ye@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Qin Long <qin.long@intel.com>
2017-11-24 16:36:29 +08:00
..
Application/Cryptest CryptoPkg: Add new API to retrieve commonName of X.509 certificate 2017-09-25 00:06:41 +08:00
CryptRuntimeDxe CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00
Include CryptoPkg/TlsLib: Change the return type of TlsInitialize(). 2017-11-24 08:46:20 +08:00
Library CryptoPkg/IntrinsicLib: Fix the warning on memset 2017-11-24 16:36:29 +08:00
.gitignore CryptoPkg: Update .gitignore for OpenSSL source masking 2017-03-29 16:05:42 +08:00
CryptoPkg.dec CryptoPkg: Update package version to 0.97 2017-05-05 11:29:22 +08:00
CryptoPkg.dsc CryptoPkg: Update package version to 0.97 2017-05-05 11:29:22 +08:00
CryptoPkg.uni CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00
CryptoPkgExtra.uni CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00