patch-rocrail_impl_action_c 531 B

123456789101112131415
  1. $OpenBSD: patch-rocrail_impl_action_c,v 1.1 2017/05/07 23:57:16 espie Exp $
  2. Index: rocrail/impl/action.c
  3. --- rocrail/impl/action.c.orig
  4. +++ rocrail/impl/action.c
  5. @@ -819,7 +819,7 @@ static void _exec( struct OAction* inst, iONode action
  6. static void _tick( iOAction inst ) {
  7. iOActionData data = Data(inst);
  8. iOControl control = AppOp.getControl();
  9. - long l_time = ControlOp.getTime(control);
  10. + time_t l_time = ControlOp.getTime(control);
  11. struct tm* lTime = localtime( &l_time );
  12. data->ticker++; /* scale minutes */