Mercurial > emacs
diff src/editfns.c @ 109006:7a086283ef8c
Backport from trunk: * src/editfns.c (Fbyte_to_string): Pacify compiler.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Mon, 14 Jun 2010 23:16:19 -0700 |
parents | a224d29f3386 |
children | 2bc9a0c04c87 0e4f6aed76c8 |
line wrap: on
line diff
--- a/src/editfns.c Tue Jun 15 00:51:42 2010 -0400 +++ b/src/editfns.c Mon Jun 14 23:16:19 2010 -0700 @@ -1,7 +1,8 @@ /* Lisp functions pertaining to editing. - Copyright (C) 1985, 1986, 1987, 1989, 1993, 1994, 1995, 1996, - 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. + +Copyright (C) 1985, 1986, 1987, 1989, 1993, 1994, 1995, 1996, 1997, + 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, + 2009, 2010 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -225,8 +226,9 @@ (byte) Lisp_Object byte; { + unsigned char b; CHECK_NUMBER (byte); - unsigned char b = XINT (byte); + b = XINT (byte); return make_string_from_bytes (&b, 1, 1); }