aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-03-21 01:06:27 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2012-03-21 01:06:27 +0000
commit66c4eabaf093962ee343004e4c771f803dcab1de (patch)
treeec0b847f0515444f66fa4b733ae98a95a2f118bf
parent8dc38b0158d188849a417d9dc573c66bc9eed1f9 (diff)
downloadverteco-66c4eabaf093962ee343004e4c771f803dcab1de.tar.gz
Double the width of registervalue
-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;