base/ct.[ch]: Set the return type of `ct_pick' correctly.
[catacomb] / base / ct.c
index 5393450..989f8d6 100644 (file)
--- a/base/ct.c
+++ b/base/ct.c
@@ -105,7 +105,7 @@ int ct_intle(uint32 x, uint32 y)
  *             constant time.
  */
 
-int ct_pick(uint32 a, uint32 x0, uint32 x1)
+uint32 ct_pick(uint32 a, uint32 x0, uint32 x1)
   { uint32 m = MASK(a); return (x0&~m) | (x1&m); }
 
 /* --- @ct_condcopy@ --- *