Some more loplugin:cstylecast: opencl
Change-Id: I93c590a71ea768511a89d6fe17dc7aa01fe73b02
This commit is contained in:
@@ -570,7 +570,7 @@ inline ds_status readProfileFromFile(ds_profile* profile, ds_score_deserializer
|
|||||||
}
|
}
|
||||||
deviceScoreStart += strlen(DS_TAG_SCORE);
|
deviceScoreStart += strlen(DS_TAG_SCORE);
|
||||||
deviceScoreEnd = findString(deviceScoreStart, contentEnd, DS_TAG_SCORE_END);
|
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)
|
if (status != DS_SUCCESS)
|
||||||
{
|
{
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
@@ -594,7 +594,7 @@ inline ds_status readProfileFromFile(ds_profile* profile, ds_score_deserializer
|
|||||||
}
|
}
|
||||||
deviceScoreStart += strlen(DS_TAG_SCORE);
|
deviceScoreStart += strlen(DS_TAG_SCORE);
|
||||||
deviceScoreEnd = findString(deviceScoreStart, contentEnd, DS_TAG_SCORE_END);
|
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)
|
if (status != DS_SUCCESS)
|
||||||
{
|
{
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
Reference in New Issue
Block a user