diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-02-11 21:27:53 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-02-11 21:27:53 -0500 |
commit | c530e1c2a3a036d71942c354ba11b30a06341fd7 (patch) | |
tree | 184fa6b6c9bb58855aa9f1ae6cded97edc4f10fb /src/callint.c | |
parent | 295fb2ac59b66c0e2470325a42c8e58c135ed044 (diff) | |
parent | e0e36cac4adaa32ad755a34c811366dd8e4655bc (diff) | |
download | emacs-c530e1c2a3a036d71942c354ba11b30a06341fd7.tar.gz |
Merge from trunk
Diffstat (limited to 'src/callint.c')
-rw-r--r-- | src/callint.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/callint.c b/src/callint.c index d2f94f6080f..36d295d750c 100644 --- a/src/callint.c +++ b/src/callint.c @@ -257,8 +257,8 @@ invoke it. If KEYS is omitted or nil, the return value of int next_event; Lisp_Object prefix_arg; - unsigned char *string; - unsigned char *tem; + char *string; + char *tem; /* If varies[i] > 0, the i'th argument shouldn't just have its value in this call quoted in the command history. It should be @@ -325,8 +325,8 @@ invoke it. If KEYS is omitted or nil, the return value of { /* Make a copy of string so that if a GC relocates specs, `string' will still be valid. */ - string = (unsigned char *) alloca (SBYTES (specs) + 1); - memcpy (string, SDATA (specs), SBYTES (specs) + 1); + string = (char *) alloca (SBYTES (specs) + 1); + memcpy (string, SSDATA (specs), SBYTES (specs) + 1); } else { @@ -389,7 +389,7 @@ invoke it. If KEYS is omitted or nil, the return value of { if (!NILP (record_flag)) { - unsigned char *p = string; + char *p = string; while (*p) { if (! (*p == 'r' || *p == 'p' || *p == 'P' @@ -449,7 +449,7 @@ invoke it. If KEYS is omitted or nil, the return value of j += 2; else j++; - tem = (unsigned char *) strchr (tem, '\n'); + tem = strchr (tem, '\n'); if (tem) ++tem; else @@ -780,7 +780,7 @@ invoke it. If KEYS is omitted or nil, the return value of case '+': default: error ("Invalid control letter `%c' (%03o) in interactive calling string", - *tem, *tem); + *tem, (unsigned char) *tem); } if (varies[i] == 0) @@ -789,9 +789,9 @@ invoke it. If KEYS is omitted or nil, the return value of if (NILP (visargs[i]) && STRINGP (args[i])) visargs[i] = args[i]; - tem = (unsigned char *) strchr (tem, '\n'); + tem = strchr (tem, '\n'); if (tem) tem++; - else tem = (unsigned char *) ""; + else tem = ""; } unbind_to (speccount, Qnil); |