From 3b9f7b38c5983cbf9198c3ee270b27e9779cd069 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 23 Apr 2018 10:40:42 -0400 Subject: [PATCH] Use int instead of long. Monitor->GetCaptureDelay returns an int, so no reason to use long. --- src/zmc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/zmc.cpp b/src/zmc.cpp index 30be7b30c..6b277ebcc 100644 --- a/src/zmc.cpp +++ b/src/zmc.cpp @@ -262,9 +262,9 @@ int main(int argc, char *argv[]) { } } - long *capture_delays = new long[n_monitors]; - long *alarm_capture_delays = new long[n_monitors]; - long *next_delays = new long[n_monitors]; + int *capture_delays = new int[n_monitors]; + int *alarm_capture_delays = new int[n_monitors]; + int *next_delays = new int[n_monitors]; struct timeval * last_capture_times = new struct timeval[n_monitors]; for ( int i = 0; i < n_monitors; i++ ) { last_capture_times[i].tv_sec = last_capture_times[i].tv_usec = 0;