diff options
Diffstat (limited to 'otherlibs/unix/cst2constr.c')
-rw-r--r-- | otherlibs/unix/cst2constr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/cst2constr.c b/otherlibs/unix/cst2constr.c index 7a519a750..7a0bb95ad 100644 --- a/otherlibs/unix/cst2constr.c +++ b/otherlibs/unix/cst2constr.c @@ -10,6 +10,6 @@ value cst_to_constr(n, tbl, size, deflt) { int i; for (i = 0; i < size; i++) - if (n == tbl[i]) return Atom(i); - return Atom(deflt); + if (n == tbl[i]) return Val_int(i); + return Val_int(deflt); } |