aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modbuslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modbuslog.c b/src/modbuslog.c
index b310cc7..320f56b 100644
--- a/src/modbuslog.c
+++ b/src/modbuslog.c
@@ -300,7 +300,7 @@ int main(int argc, char *argv[]) {
syslog(LOG_DEBUG, "opening file for append: [%s]",
log_filename);
- int16_t registervalue = 0;
+ int32_t registervalue = 0;
int p;