diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-26 19:12:36 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-26 19:12:36 -0700 |
commit | c5101a77a4066d979698d356c3a9c7f387007359 (patch) | |
tree | 0d18e8940a4fac6092a98a07bcc625bd29e67179 /src/character.c | |
parent | dd3f25f792d724f59fac3e2d4faa21b311f21137 (diff) | |
download | emacs-c5101a77a4066d979698d356c3a9c7f387007359.tar.gz |
Variadic C functions now count arguments with size_t, not int.
Diffstat (limited to 'src/character.c')
-rw-r--r-- | src/character.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/character.c b/src/character.c index fdaf22f04f8..c106fc0ba20 100644 --- a/src/character.c +++ b/src/character.c @@ -893,9 +893,10 @@ DEFUN ("string", Fstring, Sstring, 0, MANY, 0, doc: /* Concatenate all the argument characters and make the result a string. usage: (string &rest CHARACTERS) */) - (int n, Lisp_Object *args) + (size_t n, Lisp_Object *args) { - int i, c; + size_t i; + int c; unsigned char *buf, *p; Lisp_Object str; USE_SAFE_ALLOCA; @@ -918,9 +919,10 @@ usage: (string &rest CHARACTERS) */) DEFUN ("unibyte-string", Funibyte_string, Sunibyte_string, 0, MANY, 0, doc: /* Concatenate all the argument bytes and make the result a unibyte string. usage: (unibyte-string &rest BYTES) */) - (int n, Lisp_Object *args) + (size_t n, Lisp_Object *args) { - int i, c; + size_t i; + int c; unsigned char *buf, *p; Lisp_Object str; USE_SAFE_ALLOCA; |