patch-rocdigs_impl_loconet_c 459 B

123456789101112131415
  1. $OpenBSD: patch-rocdigs_impl_loconet_c,v 1.1 2017/05/07 23:57:16 espie Exp $
  2. Index: rocdigs/impl/loconet.c
  3. --- rocdigs/impl/loconet.c.orig
  4. +++ rocdigs/impl/loconet.c
  5. @@ -1619,7 +1619,7 @@ static int __setFastClock(iOLocoNet loconet, iONode no
  6. int hours = 10;
  7. int mins = 30;
  8. - long l_time = wClock.gettime(node);
  9. + time_t l_time = wClock.gettime(node);
  10. struct tm* lTime = localtime( &l_time );
  11. mins = lTime->tm_min;