+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>
* regex.c: Suppress GCC warning on RHEL 6. (Bug#11207)
if (!strncmp (SSDATA (name), " ", 1)) /* see bug#1229 */
{
/* 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));
tem = Fget_buffer (tem2);
if (NILP (tem))