]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/SwapBytes16.c
Update the Guid Value of Ext SCSI Pass Thru Protocol
[mirror_edk2.git] / MdePkg / Library / BaseLib / SwapBytes16.c
index c8460a28f7998a56f7664bd8b0977d66e1c660b2..134ccb1ef098583965848bd220ad6039f4fa43ac 100644 (file)
@@ -32,5 +32,5 @@ SwapBytes16 (
   IN      UINT16                    Operand\r
   )\r
 {\r
-  return (Operand << 8) | (Operand >> 8);\r
+  return (UINT16) ((Operand << 8) | (Operand >> 8));\r
 }\r