HidlTransportSupport: fix build.
am: a8b6eabcab
Change-Id: I6279b5b8e33b338885878e3b8b6225da601ba73c
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