Fix DDK3790 build failure.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> 

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14587 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Ruiyu Ni 2013-08-22 05:15:05 +00:00 committed by niruiyu
parent 7076ecdb6b
commit de49225db8
1 changed files with 1 additions and 1 deletions

View File

@ -809,7 +809,7 @@ DiskIo2ReadWriteDisk (
BlockIo2 = Instance->BlockIo2; BlockIo2 = Instance->BlockIo2;
Media = BlockIo->Media; Media = BlockIo->Media;
Status = EFI_SUCCESS; Status = EFI_SUCCESS;
Blocking = ((Token == NULL) || (Token->Event == NULL)); Blocking = (BOOLEAN) ((Token == NULL) || (Token->Event == NULL));
if (Media->MediaId != MediaId) { if (Media->MediaId != MediaId) {
return EFI_MEDIA_CHANGED; return EFI_MEDIA_CHANGED;