Some more loplugin:cstylecast: opencl
Change-Id: I93c590a71ea768511a89d6fe17dc7aa01fe73b02
This commit is contained in:
parent
8b2cf9099a
commit
4d78f348f9
@ -570,7 +570,7 @@ inline ds_status readProfileFromFile(ds_profile* profile, ds_score_deserializer
|
||||
}
|
||||
deviceScoreStart += strlen(DS_TAG_SCORE);
|
||||
deviceScoreEnd = findString(deviceScoreStart, contentEnd, DS_TAG_SCORE_END);
|
||||
status = deserializer(profile->devices + i, (const unsigned char*)deviceScoreStart, deviceScoreEnd - deviceScoreStart);
|
||||
status = deserializer(profile->devices + i, reinterpret_cast<const unsigned char*>(deviceScoreStart), deviceScoreEnd - deviceScoreStart);
|
||||
if (status != DS_SUCCESS)
|
||||
{
|
||||
goto cleanup;
|
||||
@ -594,7 +594,7 @@ inline ds_status readProfileFromFile(ds_profile* profile, ds_score_deserializer
|
||||
}
|
||||
deviceScoreStart += strlen(DS_TAG_SCORE);
|
||||
deviceScoreEnd = findString(deviceScoreStart, contentEnd, DS_TAG_SCORE_END);
|
||||
status = deserializer(profile->devices + i, (const unsigned char*)deviceScoreStart, deviceScoreEnd - deviceScoreStart);
|
||||
status = deserializer(profile->devices + i, reinterpret_cast<const unsigned char*>(deviceScoreStart), deviceScoreEnd - deviceScoreStart);
|
||||
if (status != DS_SUCCESS)
|
||||
{
|
||||
goto cleanup;
|
||||
|
Loading…
x
Reference in New Issue
Block a user