comparison src/editfns.c @ 7506:9fa47d36798a

(Fcurrent_time_zone): Add cast.
author Richard M. Stallman <rms@gnu.org>
date Sun, 15 May 1994 19:25:21 +0000
parents a1b7f72e0ea2
children 987ab382275c
comparison
equal deleted inserted replaced
7505:9553f0614817 7506:9fa47d36798a
678 t = localtime (&value); 678 t = localtime (&value);
679 offset = difftm (t, &gmt); 679 offset = difftm (t, &gmt);
680 s = 0; 680 s = 0;
681 #ifdef HAVE_TM_ZONE 681 #ifdef HAVE_TM_ZONE
682 if (t->tm_zone) 682 if (t->tm_zone)
683 s = t->tm_zone; 683 s = (char *)t->tm_zone;
684 #else /* not HAVE_TM_ZONE */ 684 #else /* not HAVE_TM_ZONE */
685 #ifdef HAVE_TZNAME 685 #ifdef HAVE_TZNAME
686 if (t->tm_isdst == 0 || t->tm_isdst == 1) 686 if (t->tm_isdst == 0 || t->tm_isdst == 1)
687 s = tzname[t->tm_isdst]; 687 s = tzname[t->tm_isdst];
688 #endif 688 #endif