any.\r
\r
Copyright (C) 2013, Red Hat, Inc.\r
- Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials are licensed and made available\r
under the terms and conditions of the BSD License which accompanies this\r
if (EFI_ERROR (Status)) {\r
goto Exit;\r
}\r
- Dev->Snm.MediaPresent = !!(LinkStatus & VIRTIO_NET_S_LINK_UP);\r
+ Dev->Snm.MediaPresent =\r
+ (BOOLEAN) ((LinkStatus & VIRTIO_NET_S_LINK_UP) != 0);\r
}\r
\r
//\r