changeset 85253:3b0be4ab6109

Replace `abs' with `eabs'.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 13 Oct 2007 12:43:31 +0000
parents 62ea6778c569
children 8004c957b946
files src/editfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Sat Oct 13 12:43:09 2007 +0000
+++ b/src/editfns.c	Sat Oct 13 12:43:31 2007 +0000
@@ -1848,7 +1848,7 @@
 	tzstring = (char *) SDATA (zone);
       else if (INTEGERP (zone))
 	{
-	  int abszone = abs (XINT (zone));
+	  int abszone = eabs (XINT (zone));
 	  sprintf (tzbuf, "XXX%s%d:%02d:%02d", "-" + (XINT (zone) < 0),
 		   abszone / (60*60), (abszone/60) % 60, abszone % 60);
 	  tzstring = tzbuf;