patch-wmSun_c 594 B

12345678910111213
  1. $OpenBSD: patch-wmSun_c,v 1.1.1.1 2001/01/09 22:10:18 naddy Exp $
  2. --- wmSun/wmSun.c.orig Thu Feb 4 18:43:09 1999
  3. +++ wmSun/wmSun.c Tue Jan 9 18:05:54 2001
  4. @@ -129,7 +129,7 @@ int main(int argc, char *argv[]) {
  5. int Year, Month, DayOfWeek, OldLocalDayOfMonth;
  6. int LocalDayOfMonth, DayOfMonth;
  7. int Hours, Mins, Secs, OldSecs, digit, xoff, xsize;
  8. - long CurrentLocalTime, CurrentGMTTime, date;
  9. + time_t CurrentLocalTime, CurrentGMTTime, date;
  10. double UT, val, RA, DEC, LTRise, LTSet, LocalHour, hour24();
  11. int D, H, M, S, sgn, A, B, q;
  12. char str[10];