aboutsummaryrefslogtreecommitdiffstats
path: root/src/category.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1997-07-04 20:44:52 +0000
committerRichard M. Stallman <[email protected]>1997-07-04 20:44:52 +0000
commit2e34157cd9e74150e79e0ce23236252b47fb5f1a (patch)
tree418451da8380ec73d5d46dc648c07e6ad8af845f /src/category.c
parent8c239ac3ed4f636810bc08959e1318b1a6e928ba (diff)
Fix bugs with inappropriate mixing of Lisp_Object with int.
Diffstat (limited to 'src/category.c')
-rw-r--r--src/category.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/category.c b/src/category.c
index 81ef3dcd62..f63b65e130 100644
--- a/src/category.c
+++ b/src/category.c
@@ -574,8 +574,8 @@ word_boundary_p (c1, c2)
if (CONSP (elt)
&& CATEGORYP (XCONS (elt)->car)
&& CATEGORYP (XCONS (elt)->cdr)
- && CATEGORY_MEMBER (XCONS (elt)->car, category_set1)
- && CATEGORY_MEMBER (XCONS (elt)->cdr, category_set2))
+ && CATEGORY_MEMBER (XFASTINT (XCONS (elt)->car), category_set1)
+ && CATEGORY_MEMBER (XFASTINT (XCONS (elt)->cdr), category_set2))
return !default_result;
}
return default_result;