From 5923ef92176be63c476ae96da81e395386a879eb Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Tue, 7 Mar 2017 15:57:52 +0800 Subject: MdePkg/BasePrintLib: Refine the comment for AsciiValueToStringS API The commit refines the comment description for PrintLib API AsciiValueToStringS. This API will not ASSERT when the input/output parameter 'Buffer' is not aligned on a 16-bit boundary. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu Reviewed-by: Liming Gao --- MdePkg/Library/BasePrintLib/PrintLib.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'MdePkg/Library') diff --git a/MdePkg/Library/BasePrintLib/PrintLib.c b/MdePkg/Library/BasePrintLib/PrintLib.c index 7453e952a7..34793919f6 100644 --- a/MdePkg/Library/BasePrintLib/PrintLib.c +++ b/MdePkg/Library/BasePrintLib/PrintLib.c @@ -869,8 +869,7 @@ AsciiValueToString ( sign character, '0' characters, digit characters for Value, and the Null-terminator add up to Width characters. - If Buffer is not aligned on a 16-bit boundary, then ASSERT(). - If an error would be returned, then the function will also ASSERT(). + If an error would be returned, then the function will ASSERT(). @param Buffer The pointer to the output buffer for the produced Null-terminated Ascii string. -- cgit v1.2.3