diff options
author | josh.macdonald <jmacd@users.noreply.github.com> | 2007-10-28 22:20:26 +0000 |
---|---|---|
committer | josh.macdonald <jmacd@users.noreply.github.com> | 2007-10-28 22:20:26 +0000 |
commit | 93250631824866baa87bfa7aac463258250fa6b1 (patch) | |
tree | 8d4583cf77c9cccc6fbab287d273b63691648896 /xdelta3/xdelta3-main.h | |
parent | 49327439297ae6239f30dc77abf90e86352b7b7e (diff) |
Eliminate calls to __umoddi3 (compiler generated for 64-bit % 32-bit).
More 80col reformatting.
Diffstat (limited to 'xdelta3/xdelta3-main.h')
-rw-r--r-- | xdelta3/xdelta3-main.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xdelta3/xdelta3-main.h b/xdelta3/xdelta3-main.h index 4d642df..bb06a13 100644 --- a/xdelta3/xdelta3-main.h +++ b/xdelta3/xdelta3-main.h | |||
@@ -555,10 +555,10 @@ main_format_bcnt (xoff_t r, char *buf) | |||
555 | for (i = 0; i < SIZEOF_ARRAY(fmts); i += 1) | 555 | for (i = 0; i < SIZEOF_ARRAY(fmts); i += 1) |
556 | { | 556 | { |
557 | if (r <= (10 * 1024) || i == (-1 + (int)SIZEOF_ARRAY(fmts))) | 557 | if (r <= (10 * 1024) || i == (-1 + (int)SIZEOF_ARRAY(fmts))) |
558 | { | 558 | { |
559 | sprintf (buf, "%"Q"u %s", r, fmts[i]); | 559 | sprintf (buf, "%"Q"u %s", r, fmts[i]); |
560 | break; | 560 | break; |
561 | } | 561 | } |
562 | r /= 1024; | 562 | r /= 1024; |
563 | } | 563 | } |
564 | return buf; | 564 | return buf; |
@@ -2436,7 +2436,7 @@ main_getblk_func (xd3_stream *stream, | |||
2436 | xoff_t pos = blkno * source->blksize; | 2436 | xoff_t pos = blkno * source->blksize; |
2437 | main_file *sfile = (main_file*) source->ioh; | 2437 | main_file *sfile = (main_file*) source->ioh; |
2438 | main_blklru *blru = NULL; | 2438 | main_blklru *blru = NULL; |
2439 | usize_t onblk = xd3_bytes_on_srcblk (source, blkno); | 2439 | usize_t onblk = xd3_bytes_on_srcblk_fast (source, blkno); |
2440 | usize_t nread; | 2440 | usize_t nread; |
2441 | int ret; | 2441 | int ret; |
2442 | int i; | 2442 | int i; |