aboutsummaryrefslogtreecommitdiff
path: root/contrib/itmdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/itmdump.c')
-rw-r--r--contrib/itmdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/itmdump.c b/contrib/itmdump.c
index 1c484d0a..9d313ffb 100644
--- a/contrib/itmdump.c
+++ b/contrib/itmdump.c
@@ -130,7 +130,7 @@ static bool read_varlen(FILE *f, int c, unsigned *value)
*value = (buf[3] << 24)
+ (buf[2] << 16)
- + (buf[2] << 8)
+ + (buf[1] << 8)
+ (buf[0] << 0);
return true;