From 327eeec881297db159549c8e03d36d8e3b7d37ea Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 12 Jun 2011 19:23:58 -0700 Subject: [PATCH] * fileio.c (make_temp_name): Omit unnecessary cast to unsigned. --- src/ChangeLog | 2 ++ src/fileio.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index ca1e46cc3d6..0d1dcfc7d13 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-06-13 Paul Eggert + * fileio.c (make_temp_name): Omit unnecessary cast to unsigned. + * editfns.c (Ftranslate_region_internal): Use int, not EMACS_INT for characters. diff --git a/src/fileio.c b/src/fileio.c index d9bc28d8c37..9a08e11e27e 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -643,7 +643,7 @@ make_temp_name (Lisp_Object prefix, int base64_p) if (!make_temp_name_count_initialized_p) { - make_temp_name_count = (unsigned) time (NULL); + make_temp_name_count = time (NULL); make_temp_name_count_initialized_p = 1; } -- 2.39.2