From: Keith Packard Date: Thu, 6 Feb 2003 19:22:43 +0000 (+0000) Subject: Fix inconsistent const usage in FcConfigCompareValue X-Git-Tag: fc-2_1_91~39 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ca4339b8bbd4138bb3cf54a7ad7c3b33db7035de;hp=c647f6f1e42f70077e1e0c957ff5cd7905d88b86;p=fontconfig.git Fix inconsistent const usage in FcConfigCompareValue --- 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);