oldsize/newsize should be uint64_t instead of int
authorMatthew Endsley <mendsley@gmail.com>
Mon, 14 May 2012 03:11:17 +0000 (20:11 -0700)
committerMatthew Endsley <mendsley@gmail.com>
Mon, 14 May 2012 08:04:25 +0000 (01:04 -0700)
bspatch.c

index 1ba087c..d665675 100644 (file)
--- 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;