patch-rocrail_impl_srcpcon_c 479 B

123456789101112131415
  1. $OpenBSD: patch-rocrail_impl_srcpcon_c,v 1.1 2017/05/07 23:57:16 espie Exp $
  2. Index: rocrail/impl/srcpcon.c
  3. --- rocrail/impl/srcpcon.c.orig
  4. +++ rocrail/impl/srcpcon.c
  5. @@ -346,7 +346,7 @@ static char* __rr2srcp(iOSrcpConData data, iONode evt,
  6. }
  7. else if( StrOp.equals( wClock.name(), NodeOp.getName(evt)) ) {
  8. - long l_time = wClock.gettime(evt);
  9. + time_t l_time = wClock.gettime(evt);
  10. struct tm* lTime = localtime( &l_time );
  11. int mins = lTime->tm_min;