summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Endsley <mendsley@gmail.com>2012-05-13 20:11:17 -0700
committerMatthew Endsley <mendsley@gmail.com>2012-05-14 01:04:25 -0700
commit5de97e3229e795b8c7846c8fd5895e56cfe6012a (patch)
tree1f3c17a5d67334d8339c3135f746fb8c3b33d766
parent8fdedb9ac59bfe2026dd3b6f547993b279b643d5 (diff)
downloadbsdiff-5de97e3229e795b8c7846c8fd5895e56cfe6012a.tar.gz
oldsize/newsize should be uint64_t instead of int
-rw-r--r--bspatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bspatch.c b/bspatch.c
index 1ba087c..d665675 100644
--- a/bspatch.c
+++ b/bspatch.c
@@ -40,9 +40,9 @@ struct bspatch_stream
struct bspatch_request
{
const uint8_t* old;
- int oldsize;
+ int64_t oldsize;
uint8_t* new;
- int newsize;
+ int64_t newsize;
struct bspatch_stream control;
struct bspatch_stream diff;
struct bspatch_stream extra;