summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bsdiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsdiff.c b/bsdiff.c
index 0920f76..97a5709 100644
--- a/bsdiff.c
+++ b/bsdiff.c
@@ -187,7 +187,7 @@ static void offtout(int64_t x,uint8_t *buf)
if(x<0) y=-x; else y=x;
- buf[0]=y%256;y-=buf[0];
+ buf[0]=y%256;y-=buf[0];
y=y/256;buf[1]=y%256;y-=buf[1];
y=y/256;buf[2]=y%256;y-=buf[2];
y=y/256;buf[3]=y%256;y-=buf[3];