Commit 76046526 authored by Dmitry Antipov's avatar Dmitry Antipov

* buffer.c (Fgenerate_new_buffer_name): Fix type mismatch.

parent 30eabd7a
2012-07-04 Dmitry Antipov <dmantipov@yandex.ru>
* buffer.c (Fgenerate_new_buffer_name): Fix type mismatch.
2012-07-04 Paul Eggert <eggert@cs.ucla.edu> 2012-07-04 Paul Eggert <eggert@cs.ucla.edu>
* regex.c: Suppress GCC warning on RHEL 6. (Bug#11207) * regex.c: Suppress GCC warning on RHEL 6. (Bug#11207)
......
...@@ -859,7 +859,7 @@ is first appended to NAME, to speed up finding a non-existent buffer. */) ...@@ -859,7 +859,7 @@ is first appended to NAME, to speed up finding a non-existent buffer. */)
if (!strncmp (SSDATA (name), " ", 1)) /* see bug#1229 */ if (!strncmp (SSDATA (name), " ", 1)) /* see bug#1229 */
{ {
/* Note fileio.c:make_temp_name does random differently. */ /* Note fileio.c:make_temp_name does random differently. */
sprintf (number, "-%"pD"d", Frandom (make_number (999999))); sprintf (number, "-%"pD"d", XFASTINT (Frandom (make_number (999999))));
tem2 = concat2 (name, build_string (number)); tem2 = concat2 (name, build_string (number));
tem = Fget_buffer (tem2); tem = Fget_buffer (tem2);
if (NILP (tem)) if (NILP (tem))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment