From 7f6d7851fc422f37df66b1217ff07cbc8166b54d Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Wed, 14 May 2014 17:05:53 +1100 Subject: [PATCH] + bitmap_diffmap() --- src/bitmap.c | 2 +- src/bitmap.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bitmap.c b/src/bitmap.c index ebbeb8a..3e62db9 100644 --- a/src/bitmap.c +++ b/src/bitmap.c @@ -55,7 +55,7 @@ bitmap_compare(const unsigned char *a, } int -bitmap_diffmap(const unsigned char *diff, +bitmap_diffmap(unsigned char *diff, const unsigned char *a, const unsigned char *b) { diff --git a/src/bitmap.h b/src/bitmap.h index 1365755..7969b7f 100644 --- a/src/bitmap.h +++ b/src/bitmap.h @@ -11,7 +11,7 @@ bitmap_compare(const unsigned char *a, const unsigned char *b); int -bitmap_diffmap(const unsigned char *diff, +bitmap_diffmap(unsigned char *diff, const unsigned char *a, - const unsigned char *b) + const unsigned char *b); #endif