From ca4339b8bbd4138bb3cf54a7ad7c3b33db7035de Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 6 Feb 2003 19:22:43 +0000 Subject: [PATCH] Fix inconsistent const usage in FcConfigCompareValue --- src/fccfg.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/fccfg.c b/src/fccfg.c index 446004f..f2b5576 100644 --- a/src/fccfg.c +++ b/src/fccfg.c @@ -483,11 +483,13 @@ FcConfigPromote (FcValue v, FcValue u) } FcBool -FcConfigCompareValue (FcValue m, - FcOp op, - FcValue v) +FcConfigCompareValue (const FcValue m_o, + FcOp op, + const FcValue v_o) { - FcBool ret = FcFalse; + FcValue m = m_o; + FcValue v = v_o; + FcBool ret = FcFalse; m = FcConfigPromote (m, v); v = FcConfigPromote (v, m); -- 2.39.5