From: Paul Eggert Date: Mon, 13 Jun 2011 02:23:58 +0000 (-0700) Subject: * fileio.c (make_temp_name): Omit unnecessary cast to unsigned. X-Git-Tag: emacs-pretest-24.0.90~104^2~548^2~36 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=327eeec881297db159549c8e03d36d8e3b7d37ea;p=emacs.git * fileio.c (make_temp_name): Omit unnecessary cast to unsigned. --- 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; }