FRU: pldmresponder: fix width of PLDM entity type

One of the APIs had the entity type wrongly set at a byte. Entity type
is two bytes.

Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: Idd1b4cb425efab738a1ec23ed0a0fca3b903f194
diff --git a/libpldmresponder/fru_parser.hpp b/libpldmresponder/fru_parser.hpp
index a11610a..f93c1fc 100644
--- a/libpldmresponder/fru_parser.hpp
+++ b/libpldmresponder/fru_parser.hpp
@@ -22,7 +22,7 @@
 using Interfaces = std::set<Interface>;
 using Property = std::string;
 using PropertyType = std::string;
-using EntityType = uint8_t;
+using EntityType = uint16_t;
 
 } // namespace dbus
 
diff --git a/tool/pldm_platform_cmd.cpp b/tool/pldm_platform_cmd.cpp
index d3ca8f7..387f03f 100644
--- a/tool/pldm_platform_cmd.cpp
+++ b/tool/pldm_platform_cmd.cpp
@@ -89,7 +89,7 @@
         {11521, "System (logical)"},
     };
 
-    std::string getEntityName(uint8_t type)
+    std::string getEntityName(uint16_t type)
     {
         try
         {