1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00

(scm_dbg_make_iloc): Should be SCM_IFRAMEMAX and

SCM_IDISTMAX, and cast uints through scm_t_bits to make gcc happy.
Reported by Ken Raeburn.
This commit is contained in:
Kevin Ryde 2005-07-12 00:28:09 +00:00
parent ea2c396807
commit c3c97a34e7

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 /* Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005
* Free Software Foundation, Inc. * Free Software Foundation, Inc.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -372,8 +372,8 @@ SCM_DEFINE (scm_dbg_make_iloc, "dbg-make-iloc", 3, 0, 0,
"offset @var{binding} and the cdr flag @var{cdrp}.") "offset @var{binding} and the cdr flag @var{cdrp}.")
#define FUNC_NAME s_scm_dbg_make_iloc #define FUNC_NAME s_scm_dbg_make_iloc
{ {
return SCM_MAKE_ILOC (scm_to_unsigned_integer (frame, 0, SCM_IFRAME_MAX), return SCM_MAKE_ILOC ((scm_t_bits) scm_to_unsigned_integer (frame, 0, SCM_IFRAMEMAX),
scm_to_unsigned_integer (binding, 0, SCM_IDIST_MAX), (scm_t_bits) scm_to_unsigned_integer (binding, 0, SCM_IDISTMAX),
scm_is_true (cdrp)); scm_is_true (cdrp));
} }
#undef FUNC_NAME #undef FUNC_NAME