Use static_cast instead of reinterpret_cast.

PiperOrigin-RevId: 836990495
Change-Id: I276b5d83e18cc87364f8f2cae0c585b6673c738e
This commit is contained in:
Haroon Qureshi
2025-11-26 00:24:36 -08:00
committed by Copybara-Service
parent d940b2b7f9
commit a1579ac3e1
@@ -165,7 +165,7 @@ bool GuiView::PrepareRenderable() {
clip_height = height;
}
const intptr_t tex_id = reinterpret_cast<intptr_t>(command.GetTexID());
const intptr_t tex_id = static_cast<intptr_t>(command.GetTexID());
mjrRect clip_rect{clip_left, clip_bottom, clip_width, clip_height};
builder.material(drawable_index,
GetMaterialInstance(drawable_index, clip_rect, tex_id));