cec: added a .net CEC configuration tool
[deb_libcec.git] / src / CecSharpTester / CecSharpClient.cs
index f989eb03cdc347fe82fd654ab651e7320f1d558a..061a992047877beebe9b9ec6fd1d7bbc22c19579 100644 (file)
@@ -258,7 +258,7 @@ namespace CecSharpClient
         else if (splitCommand[0] == "pa")
         {
           if (splitCommand.Length > 1)
-            Lib.SetPhysicalAddress(short.Parse(splitCommand[1], System.Globalization.NumberStyles.HexNumber));
+            Lib.SetPhysicalAddress(ushort.Parse(splitCommand[1], System.Globalization.NumberStyles.HexNumber));
         }
         else if (splitCommand[0] == "osd")
         {