From 56ae38a66e65666b9b8aa6fafac55b0374806866 Mon Sep 17 00:00:00 2001 From: Kerry Liu Date: Sun, 28 May 2017 16:14:22 -0400 Subject: [PATCH] make avg_val a long int --- src/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device.h b/src/device.h index c8ef2ae..16343e1 100644 --- a/src/device.h +++ b/src/device.h @@ -23,7 +23,7 @@ class Device { int min_val = INT_MAX; int max_val = INT_MIN; int tick = 0; - int avg_val = 0; + long int avg_val = 0; }; const string file_path;