!40 dayu arm64 compile err

Merge pull request !40 from 王毅/master
This commit is contained in:
openharmony_ci 2024-07-12 10:10:25 +00:00 committed by Gitee
commit 3c5a41734d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -247,10 +247,10 @@ int32_t DataCollectManagerStub::HandleSecurityEventQueryCmd(MessageParcel &data,
int32_t DataCollectManagerStub::HandleConfigUpdateCmd(MessageParcel &data, MessageParcel &reply)
{
SGLOGI("%{public}s", __func__);
uint64_t expected = sizeof(uint64_t);
uint64_t actual = data.GetReadableBytes();
uint32_t expected = sizeof(uint64_t);
uint32_t actual = data.GetReadableBytes();
if (expected >= actual) {
SGLOGE("actual length error, value=%{public}llu", actual);
SGLOGE("actual length error, value=%{public}u", actual);
return BAD_PARAM;
}