Cleanup: use const cast

This commit is contained in:
Campbell Barton
2025-07-20 15:27:07 +10:00
parent df1da0fbdd
commit 1762a66b82

View File

@@ -8840,7 +8840,7 @@ GHOST_TSuccess GHOST_SystemWayland::cursor_bitmap_get(GHOST_CursorBitmapRef *bit
bitmap->hot_spot[0] = cursor->wl.image.hotspot_x;
bitmap->hot_spot[1] = cursor->wl.image.hotspot_y;
bitmap->data = static_cast<uint8_t *>(cursor->custom_data);
bitmap->data = static_cast<const uint8_t *>(cursor->custom_data);
return GHOST_kSuccess;
}