mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-24 12:20:20 +02:00
* Changed the default definition of SCM.
* Fixed some typing problems detected by the above change. * Fixed some problems that were detected by compiling guile with -W.
This commit is contained in:
parent
fc62c86a59
commit
729dbac32f
17 changed files with 147 additions and 81 deletions
|
@ -434,8 +434,8 @@ SCM_DEFINE (scm_restricted_vector_sort_x, "restricted-vector-sort!", 4, 0, 0,
|
|||
vp = SCM_VELTS (vec); /* vector pointer */
|
||||
vlen = SCM_VECTOR_LENGTH (vec);
|
||||
|
||||
SCM_VALIDATE_INUM_COPY (3,startpos,spos);
|
||||
SCM_ASSERT_RANGE (3,startpos,(spos >= 0) && (spos <= vlen));
|
||||
SCM_VALIDATE_INUM_MIN_COPY (3, startpos, 0, spos);
|
||||
SCM_ASSERT_RANGE (3,startpos, spos <= vlen);
|
||||
SCM_VALIDATE_INUM_RANGE (4,endpos,0,vlen+1);
|
||||
len = SCM_INUM (endpos) - spos;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue