mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
(scm_string_trim_right, scm_string_xcopy_x): Correctly use size_t for
some locals instead of int.
This commit is contained in:
parent
e7acba81f1
commit
616775edb7
1 changed files with 2 additions and 2 deletions
|
@ -764,7 +764,7 @@ SCM_DEFINE (scm_string_trim_right, "string-trim-right", 1, 3, 0,
|
|||
#define FUNC_NAME s_scm_string_trim_right
|
||||
{
|
||||
const char *cstr;
|
||||
int cstart, cend;
|
||||
size_t cstart, cend;
|
||||
|
||||
MY_VALIDATE_SUBSTRING_SPEC_COPY (1, s, cstr,
|
||||
3, start, cstart,
|
||||
|
@ -3060,7 +3060,7 @@ SCM_DEFINE (scm_string_xcopy_x, "string-xcopy!", 4, 3, 0,
|
|||
const char *cs;
|
||||
size_t ctstart, csfrom, csto, cstart, cend;
|
||||
SCM dummy = SCM_UNDEFINED;
|
||||
int cdummy;
|
||||
size_t cdummy;
|
||||
|
||||
MY_VALIDATE_SUBSTRING_SPEC (1, target,
|
||||
2, tstart, ctstart,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue