diff options
author | Liming Gao <liming.gao@intel.com> | 2015-12-04 03:15:08 +0000 |
---|---|---|
committer | lgao4 <lgao4@Edk2> | 2015-12-04 03:15:08 +0000 |
commit | 4d454c54d1dbd92745b825d3156d8b4ced949461 (patch) | |
tree | e23fd9cec1f04851b607e6af66e6feee15dd7b26 /MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLibNullClass.c | |
parent | d76946e328c51ab236de5d34edec774b0b01e4f5 (diff) | |
download | edk2-platforms-4d454c54d1dbd92745b825d3156d8b4ced949461.tar.xz |
MdeModulePkg: Fix VS2015 warning C4311 & C4312 in RegularExpressionDxe
warning C4311: pointer truncation from 'void *' to 'unsigned long'
warning C4312: conversion from 'unsigned long' to 'void *' of greater size
Update code to convert type to UINTN first, then convert it to other type.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hpe.com>
Acked-by: Michael Kinney <michael.d.kinney@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19114 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLibNullClass.c')
0 files changed, 0 insertions, 0 deletions