Compilation error fix
The commit fixes compilation error caused due to wrong type.
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
Change-Id: Idb61ec1c04fbba288d83673c49cc24503a917c55
diff --git a/ibm_vpd_app.cpp b/ibm_vpd_app.cpp
index cf37259..29e7cba 100644
--- a/ibm_vpd_app.cpp
+++ b/ibm_vpd_app.cpp
@@ -451,8 +451,8 @@
((json["frus"][file].at(0)["presence"]).find("value") !=
json["frus"][file].at(0)["presence"].end()))
{
- Byte presPinName = json["frus"][file].at(0)["presence"]["pin"];
- string presPinValue = json["frus"][file].at(0)["presence"]["value"];
+ string presPinName = json["frus"][file].at(0)["presence"]["pin"];
+ Byte presPinValue = json["frus"][file].at(0)["presence"]["value"];
try
{