[test] Use explicit cast for address space cast.

[ROCm/clr commit: a27877794f]
This commit is contained in:
Michael LIAO
2019-05-03 14:56:00 -04:00
parent 13b13c3493
commit fa74e75fc1
@@ -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);
}