From beee22a95ed9044950e5486f22edd813e00ffa2c Mon Sep 17 00:00:00 2001 From: Kamikadze <40305144+Kam1k4dze@users.noreply.github.com> Date: Thu, 14 Aug 2025 19:44:56 +0500 Subject: refactor: Use new hyprutils casts (#11377) --- src/xwayland/XDataSource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xwayland/XDataSource.cpp') diff --git a/src/xwayland/XDataSource.cpp b/src/xwayland/XDataSource.cpp index 7044d5ff..c67ca101 100644 --- a/src/xwayland/XDataSource.cpp +++ b/src/xwayland/XDataSource.cpp @@ -21,7 +21,7 @@ CXDataSource::CXDataSource(SXSelection& sel_) : m_selection(sel_) { return; } - auto value = (xcb_atom_t*)xcb_get_property_value(reply); + auto value = sc(xcb_get_property_value(reply)); for (uint32_t i = 0; i < reply->value_len; i++) { if (value[i] == HYPRATOMS["UTF8_STRING"]) m_mimeTypes.emplace_back("text/plain;charset=utf-8"); -- cgit v1.2.3