diff options
-rw-r--r-- | libs/binder/BpBinder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/BpBinder.cpp b/libs/binder/BpBinder.cpp index 921e57c7bf..1eb2ffd22d 100644 --- a/libs/binder/BpBinder.cpp +++ b/libs/binder/BpBinder.cpp @@ -279,7 +279,7 @@ status_t BpBinder::transact( if (mAlive) { bool privateVendor = flags & FLAG_PRIVATE_VENDOR; // don't send userspace flags to the kernel - flags = flags & ~FLAG_PRIVATE_VENDOR; + flags = flags & ~static_cast<uint32_t>(FLAG_PRIVATE_VENDOR); // user transactions require a given stability level if (code >= FIRST_CALL_TRANSACTION && code <= LAST_CALL_TRANSACTION) { |