diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modbuslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modbuslog.c b/src/modbuslog.c index 320f56b..d42a024 100644 --- a/src/modbuslog.c +++ b/src/modbuslog.c @@ -354,7 +354,7 @@ int main(int argc, char *argv[]) { fscanf(intervalfile, "%d", &intervalid); //handle 32bit signed overflow - if (intervalid == 2147483647) { + if (intervalid >= 2147483647) { intervalid = 0; } else { intervalid++; |