} else if (StrCmp (LocationStr, L"Internal") == 0) {\r
Uint16 = 0;\r
} else {\r
- Uint16 = (Strtoi (LocationStr) & BIT0);\r
+ Uint16 = ((UINT16) Strtoi (LocationStr) & BIT0);\r
}\r
Info |= (Uint16 << 5);\r
\r
} else if (StrCmp (ConnectStr, L"Direct") == 0) {\r
Uint16 = 0;\r
} else {\r
- Uint16 = (Strtoi (ConnectStr) & (BIT0 | BIT1));\r
+ Uint16 = ((UINT16) Strtoi (ConnectStr) & (BIT0 | BIT1));\r
}\r
Info |= (Uint16 << 6);\r
\r
} else if (StrCmp (LocationStr, L"Internal") == 0) {\r
Uint16 = 0;\r
} else {\r
- Uint16 = (Strtoi (LocationStr) & BIT0);\r
+ Uint16 = ((UINT16) Strtoi (LocationStr) & BIT0);\r
}\r
Info |= (Uint16 << 5);\r
\r
} else if (StrCmp (ConnectStr, L"Direct") == 0) {\r
Uint16 = 0;\r
} else {\r
- Uint16 = (Strtoi (ConnectStr) & (BIT0 | BIT1));\r
+ Uint16 = ((UINT16) Strtoi (ConnectStr) & (BIT0 | BIT1));\r
}\r
Info |= (Uint16 << 6);\r
\r