HidlTransportSupport: fix build. am: a8b6eabcab
am: 4574749a52
Change-Id: I1af0c0376ffa77478162dc742ccdabc4e0f3345d
diff --git a/transport/HidlTransportSupport.cpp b/transport/HidlTransportSupport.cpp
index 1a9f195..1df6c38 100644
--- a/transport/HidlTransportSupport.cpp
+++ b/transport/HidlTransportSupport.cpp
@@ -16,6 +16,8 @@
#include <hidl/HidlTransportSupport.h>
#include <hidl/HidlBinderSupport.h>
+#include <android/hidl/manager/1.0/IServiceManager.h>
+
namespace android {
namespace hardware {
@@ -59,7 +61,7 @@
return getpid();
#else
using android::hidl::manager::V1_0::IServiceManager;
- return IServiceManager::PidConstant::NO_PID;
+ return static_cast<int32_t>(IServiceManager::PidConstant::NO_PID);
#endif
}
} // namespace details