diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-02-06 17:24:53 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-02-06 17:24:53 -0800 |
commit | 47ce90e4950290d784889b6b33a2b1fa090f0acf (patch) | |
tree | 9b5c332a8df09907a8e8568585a32950b2ce13a6 /src/casefiddle.c | |
parent | 4f043d0f4de7cdb0c1f49bd99779ba8edeaab166 (diff) | |
download | emacs-47ce90e4950290d784889b6b33a2b1fa090f0acf.tar.gz |
* casefiddle.c: conform to C89 pointer rules
Diffstat (limited to 'src/casefiddle.c')
-rw-r--r-- | src/casefiddle.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/casefiddle.c b/src/casefiddle.c index 6f82f99bd26..62d261278ab 100644 --- a/src/casefiddle.c +++ b/src/casefiddle.c @@ -142,7 +142,7 @@ casify_object (enum case_action flag, Lisp_Object obj) o += CHAR_STRING (c, o); } eassert (o - dst <= o_size); - obj = make_multibyte_string (dst, size, o - dst); + obj = make_multibyte_string ((char *) dst, size, o - dst); SAFE_FREE (); return obj; } @@ -279,7 +279,7 @@ casify_region (enum case_action flag, Lisp_Object b, Lisp_Object e) keeping text properties the same. */ replace_range_2 (start, start_byte, start + 1, start_byte + len, - str, 1, tolen, + (char *) str, 1, tolen, 0); len = tolen; } @@ -442,4 +442,3 @@ keys_of_casefiddle (void) initial_define_key (meta_map, 'l', "downcase-word"); initial_define_key (meta_map, 'c', "capitalize-word"); } - |