1
Fork 0
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:
Marius Vollmer 2004-09-07 13:48:49 +00:00
parent e7acba81f1
commit 616775edb7

View file

@ -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,