diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-10-02 08:34:15 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-10-02 08:34:50 -0700 |
commit | 355ccbcf332d766231bd441e0971e481907785bc (patch) | |
tree | 7100141eb11890f74cab3d689e4076c2a320438f /src/cmds.c | |
parent | da4ce83c621f31c4b6690ab7fcb77c1104ed2295 (diff) | |
download | emacs-355ccbcf332d766231bd441e0971e481907785bc.tar.gz |
Fix problems found by clang 3.5.0
* src/cmds.c (Fdelete_char): Don’t assume XINT returns int.
* src/font.c (font_parse_family_registry):
Use &"str"[X] instead of "str"+X, to pacify clang -Wstring-plus-int.
Diffstat (limited to 'src/cmds.c')
-rw-r--r-- | src/cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmds.c b/src/cmds.c index 7a575ae7348..ccc68911624 100644 --- a/src/cmds.c +++ b/src/cmds.c @@ -264,7 +264,7 @@ because it respects values of `delete-active-region' and `overwrite-mode'. */) CHECK_NUMBER (n); - if (abs (XINT (n)) < 2) + if (eabs (XINT (n)) < 2) remove_excessive_undo_boundaries (); pos = PT + XINT (n); |