ports/misc/rocrail/patches/patch-rocdigs_impl_opendcc_c

12 lines
448 B
Text

Index: rocdigs/impl/opendcc.c
--- rocdigs/impl/opendcc.c.orig
+++ rocdigs/impl/opendcc.c
@@ -140,7 +140,7 @@ static iONode _cmd( obj inst ,const iONode cmd ) {
iONode clockcmd = NodeOp.inst( wBinCmd.name(), NULL, ELEMENT_NODE );
char* byteStr = NULL;
byte outBytes[6];
- long l_time = wClock.gettime(cmd);
+ time_t l_time = wClock.gettime(cmd);
struct tm* lTime = localtime( &l_time );
int mins = lTime->tm_min;