ports/misc/rocrail/patches/patch-rocdigs_impl_loconet_c

13 lines
381 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: rocdigs/impl/loconet.c
--- rocdigs/impl/loconet.c.orig
+++ rocdigs/impl/loconet.c
@@ -1619,7 +1619,7 @@ static int __setFastClock(iOLocoNet loconet, iONode no
int hours = 10;
int mins = 30;
- long l_time = wClock.gettime(node);
+ time_t l_time = wClock.gettime(node);
struct tm* lTime = localtime( &l_time );
mins = lTime->tm_min;