diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-02-01 06:30:12 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-02-01 06:30:12 +0000 |
commit | 7c1698d3029538dbd53b4e605392bf42e8cb2909 (patch) | |
tree | 4bd814440fdd12871cae61b9bab3149dc3457159 /source3/lib/bitmap.c | |
parent | e0adea449aeb9432572ea0d8af014dcc2d0c4cf1 (diff) | |
download | samba-7c1698d3029538dbd53b4e605392bf42e8cb2909.tar.gz samba-7c1698d3029538dbd53b4e605392bf42e8cb2909.tar.bz2 samba-7c1698d3029538dbd53b4e605392bf42e8cb2909.zip |
Bitmap offsets and counts are always positive.
(This used to be commit 8f495e8634a1777c4b03d3ec07c76f905ff2fb98)
Diffstat (limited to 'source3/lib/bitmap.c')
-rw-r--r-- | source3/lib/bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/bitmap.c b/source3/lib/bitmap.c index 26d21d085f..1023dd6541 100644 --- a/source3/lib/bitmap.c +++ b/source3/lib/bitmap.c @@ -129,7 +129,7 @@ wraparound ****************************************************************************/ int bitmap_find(struct bitmap *bm, unsigned ofs) { - int i, j; + unsigned int i, j; if (ofs > bm->n) ofs = 0; |