]> git.wh0rd.org - fontconfig.git/commitdiff
Fix inconsistent const usage in FcConfigCompareValue
authorKeith Packard <keithp@keithp.com>
Thu, 6 Feb 2003 19:22:43 +0000 (19:22 +0000)
committerKeith Packard <keithp@keithp.com>
Thu, 6 Feb 2003 19:22:43 +0000 (19:22 +0000)
src/fccfg.c

index 446004f23530c01cf2c3456c02f4c2ae12cfae71..f2b5576a46a7281aa458d956419f14d5dd8be854 100644 (file)
@@ -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);