[test] Use explicit cast for address space cast.
[ROCm/hip commit: 2746d95906]
This commit is contained in:
@@ -117,7 +117,7 @@ __hip_as_write_block(__ockl_as_stream_t *stream, uchar service_id,
|
||||
uchar flags)
|
||||
{
|
||||
__ockl_as_stream_t ATTR_GLOBAL *gstream =
|
||||
reinterpret_cast<__ockl_as_stream_t ATTR_GLOBAL *>(stream);
|
||||
(__ockl_as_stream_t ATTR_GLOBAL *)(stream);
|
||||
return __ockl_as_write_block(gstream, service_id, connection_id, str, len,
|
||||
flags);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user