summaryrefslogtreecommitdiff
path: root/emit.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@sourcefrog.net>2000-06-26 06:12:22 +0000
committerMartin Pool <mbp@sourcefrog.net>2000-06-26 06:12:22 +0000
commit53a284f7eed6f152a57b2d34aa4fe681249b30c3 (patch)
treebe6d49254133c61247adec94db5ac9a7aede1bf1 /emit.c
parentcb5d7db818db2b87f3e926442b1212e8011f84ea (diff)
downloadlibrsync-53a284f7eed6f152a57b2d34aa4fe681249b30c3.tar.gz
More test cases.
Clean up autoconfig: use 64-bit offsets if possible, use GCC warnings if available. Be more fussy about using the right integer types. Clean up test directories on successful completion. Add -D and -x options to test driver script; make sure it is executable on install. Add ':' recognition to hsmapread. Add more map test strategies to genmaptest. Refactor mapptr code. Add test-pairs: pairs of files filtered through various edits.
Diffstat (limited to 'emit.c')
-rw-r--r--emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/emit.c b/emit.c
index 72b79f8..ec3d9f4 100644
--- a/emit.c
+++ b/emit.c
@@ -225,7 +225,7 @@ _hs_emit_copy(hs_write_fn_t write_fn, void *write_priv,
} else if (off_type == 4) {
cmd = op_copy_int_byte;
} else {
- _hs_fatal("can't pack offset %ld!", offset);
+ _hs_fatal("can't pack offset %ld!", (long) offset);
}
if (len_type == 1) {