mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-28 18:33:48 -07:00
refactor: Use new hyprutils casts (#11377)
This commit is contained in:
@@ -19,7 +19,7 @@ static wpColorManagerV1TransferFunction getWPTransferFunction(frogColorManagedSu
|
||||
}
|
||||
|
||||
static wpColorManagerV1Primaries getWPPrimaries(frogColorManagedSurfacePrimaries primaries) {
|
||||
return (wpColorManagerV1Primaries)(primaries + 1);
|
||||
return sc<wpColorManagerV1Primaries>(primaries + 1);
|
||||
}
|
||||
|
||||
CFrogColorManager::CFrogColorManager(SP<CFrogColorManagementFactoryV1> resource_) : m_resource(resource_) {
|
||||
|
Reference in New Issue
Block a user