fetch an inum's bits into a scm_bits_t, not an int
authorAndy Wingo <wingo@pobox.com>
Tue, 26 Aug 2008 20:40:07 +0000 (13:40 -0700)
committerAndy Wingo <wingo@pobox.com>
Tue, 26 Aug 2008 20:48:12 +0000 (13:48 -0700)
commitb26422769164c2b4961efbc0a85ac0db4c9a020d
treed7f56a4ea637e8b656d6c9db96d7edba38c0a347
parentbc73abc5ff832a1e7015b3e957afb9c6c3e8ac87
fetch an inum's bits into a scm_bits_t, not an int

* libguile/vm-i-scheme.c (FUNC1): Remove, cause it's not used.
  (FUNC2): Don't assume an inum can fit into an int, use scm_bits_t
  instead. In reality though we should probably do use different checks,
  i.e. for multiplication probably we overflow. (That would be a bug.)

Based on a patch by C. K. Jester-Young <cky944 <at> gmail.com>.
libguile/vm-i-scheme.c