diff --git a/Userland/Libraries/LibGfx/ICC/TagTypes.h b/Userland/Libraries/LibGfx/ICC/TagTypes.h index a1b59edb682..f62b1d3eff0 100644 --- a/Userland/Libraries/LibGfx/ICC/TagTypes.h +++ b/Userland/Libraries/LibGfx/ICC/TagTypes.h @@ -62,8 +62,8 @@ inline FloatVector3 lerp_nd(Function size, Function; -using U16Fixed16 = FixedPoint<16, u32>; +using S15Fixed16 = AK::FixedPoint<16, i32>; +using U16Fixed16 = AK::FixedPoint<16, u32>; struct XYZ { float X { 0 }; diff --git a/Userland/Utilities/icc.cpp b/Userland/Utilities/icc.cpp index f86189d5016..cbfd02e2742 100644 --- a/Userland/Utilities/icc.cpp +++ b/Userland/Utilities/icc.cpp @@ -40,7 +40,7 @@ static void out_curve(Gfx::ICC::CurveTagData const& curve, int indent_amount) if (curve.values().is_empty()) { outln("{: >{}}identity curve", "", indent_amount); } else if (curve.values().size() == 1) { - outln("{: >{}}gamma: {}", "", indent_amount, FixedPoint<8, u16>::create_raw(curve.values()[0])); + outln("{: >{}}gamma: {}", "", indent_amount, AK::FixedPoint<8, u16>::create_raw(curve.values()[0])); } else { // FIXME: Maybe print the actual points if -v is passed? outln("{: >{}}curve with {} points", "", indent_amount, curve.values().size());