diff src/editfns.c @ 85253:3b0be4ab6109

Replace `abs' with `eabs'.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 13 Oct 2007 12:43:31 +0000
parents e5a68f18fcb9
children 54e0c02f7b7b a0e466c4d599
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;