audk/CryptoPkg/Library/IntrinsicLib
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
..
Ia32 CryptoPkg IntrinsicLib: Add the missing nasm source file 2016-08-11 10:08:32 +08:00
BaseIntrinsicLib.uni CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00
CopyMem.c Add CryptoPkg (from UDK2010.UP3) 2010-11-01 06:30:58 +00:00
IntrinsicLib.inf CryptoPkg IntrinsicLib: Remove GCC -fno-builtin option 2017-04-07 15:15:58 +08:00
MemoryIntrinsics.c CryptoPkg/IntrinsicLib: Fix the warning on memset 2017-11-24 16:36:29 +08:00