summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DOCS/tech/mpcf.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/DOCS/tech/mpcf.txt b/DOCS/tech/mpcf.txt
index 0c09ff4075..89e00ea41e 100644
--- a/DOCS/tech/mpcf.txt
+++ b/DOCS/tech/mpcf.txt
@@ -575,7 +575,7 @@ static inline int put_v(BufferContext *bc, uint64_t val){
if(val>>i == 0) break;
}
- for(i-=7; i>0; i-=8){
+ for(i-=7; i>0; i-=7){
*(bc->buf_ptr++)= 0x80 | (val>>i);
}
*(bc->buf_ptr++)= val&0x7F;