mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-25 05:52:42 -08:00
* charset.c: conform to C89 pointer rules
(define_charset_internal): Switch between char * and unsigned char *.
This commit is contained in:
parent
cc618f4e69
commit
dfb6afda10
2 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2011-02-05 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* charset.c: conform to C89 pointer rules
|
||||
(define_charset_internal): Switch between char * and unsigned char *.
|
||||
|
||||
* xmenu.c: conform to C89 const rules
|
||||
(xmenu_show, xdialog_show): Declare local var as char *, not
|
||||
const char *, to stay compatible with C89 const rules.
|
||||
|
|
|
|||
|
|
@ -1253,12 +1253,13 @@ usage: (define-charset-internal ...) */)
|
|||
static int
|
||||
define_charset_internal (Lisp_Object name,
|
||||
int dimension,
|
||||
const unsigned char *code_space,
|
||||
const char *code_space_chars,
|
||||
unsigned min_code, unsigned max_code,
|
||||
int iso_final, int iso_revision, int emacs_mule_id,
|
||||
int ascii_compatible, int supplementary,
|
||||
int code_offset)
|
||||
{
|
||||
const unsigned char *code_space = (const unsigned char *) code_space_chars;
|
||||
Lisp_Object args[charset_arg_max];
|
||||
Lisp_Object plist[14];
|
||||
Lisp_Object val;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue