mirror of https://github.com/acidanthera/audk.git
Refine code to make code run more safely.
Signed-off-by:ydong10 Reviewed-by:rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12250 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
41ff10dc06
commit
3857083c07
|
@ -137,7 +137,7 @@ typedef CHAR8 *VA_LIST;
|
|||
@return A pointer to the beginning of a variable argument list.
|
||||
|
||||
**/
|
||||
#define VA_START(Marker, Parameter) (Marker = (VA_LIST) & (Parameter) + _INT_SIZE_OF (Parameter))
|
||||
#define VA_START(Marker, Parameter) (Marker = (VA_LIST) ((UINTN) & (Parameter) + _INT_SIZE_OF (Parameter)))
|
||||
|
||||
/**
|
||||
Returns an argument of a specified type from a variable argument list and updates
|
||||
|
|
Loading…
Reference in New Issue