diff options
author | Alex Sakhartchouk <alexst@google.com> | 2011-06-03 10:18:01 -0700 |
---|---|---|
committer | Alex Sakhartchouk <alexst@google.com> | 2011-06-03 10:18:01 -0700 |
commit | 17a8a1939d4cbc74de54954c67f3dd61882420aa (patch) | |
tree | 96b3a818be8b3687e6197a1d100e0a105359e488 /libs/rs/rsThreadIO.cpp | |
parent | 6c2cb3061d031b5d8ccc095ecc038959d4489709 (diff) | |
download | frameworks_base-17a8a1939d4cbc74de54954c67f3dd61882420aa.zip frameworks_base-17a8a1939d4cbc74de54954c67f3dd61882420aa.tar.gz frameworks_base-17a8a1939d4cbc74de54954c67f3dd61882420aa.tar.bz2 |
More work to make libRS buildable on the host.
Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
Diffstat (limited to 'libs/rs/rsThreadIO.cpp')
-rw-r--r-- | libs/rs/rsThreadIO.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/rs/rsThreadIO.cpp b/libs/rs/rsThreadIO.cpp index 4429556..ab164c3 100644 --- a/libs/rs/rsThreadIO.cpp +++ b/libs/rs/rsThreadIO.cpp @@ -149,7 +149,7 @@ RsMessageToClientType ThreadIO::getClientHeader(size_t *receiveLen, uint32_t *us mToClientSocket.read(&mLastClientHeader, sizeof(mLastClientHeader)); } else { size_t bytesData = 0; - const uint32_t *d = (const uint32_t *)mToClient.get(&mLastClientHeader.cmdID, &bytesData); + const uint32_t *d = (const uint32_t *)mToClient.get(&mLastClientHeader.cmdID, (uint32_t*)&bytesData); if (bytesData >= sizeof(uint32_t)) { mLastClientHeader.userID = d[0]; mLastClientHeader.bytes = bytesData - sizeof(uint32_t); |