diff options
author | Alexander Bokovoy <ab@samba.org> | 2009-08-08 08:07:24 +0300 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2009-08-08 08:07:24 +0300 |
commit | 8eac1896299d820fec0fd92b2b8b6a058ae39642 (patch) | |
tree | f97b0a2c21eb4f91aa51cb2af4381287c3525727 /source3/lib/bitmap.c | |
parent | 217e3086c74eb0b46fab512b5887d9a5a5b7ee9a (diff) | |
parent | d296c774c5981baa863c697782dba1b6280d632e (diff) | |
download | samba-8eac1896299d820fec0fd92b2b8b6a058ae39642.tar.gz samba-8eac1896299d820fec0fd92b2b8b6a058ae39642.tar.bz2 samba-8eac1896299d820fec0fd92b2b8b6a058ae39642.zip |
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'source3/lib/bitmap.c')
-rw-r--r-- | source3/lib/bitmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/bitmap.c b/source3/lib/bitmap.c index 5e623f474a..f753ffd534 100644 --- a/source3/lib/bitmap.c +++ b/source3/lib/bitmap.c @@ -32,7 +32,7 @@ struct bitmap *bitmap_allocate(int n) bm = SMB_MALLOC_P(struct bitmap); if (!bm) return NULL; - + bm->n = n; bm->b = SMB_MALLOC_ARRAY(uint32, (n+31)/32); if (!bm->b) { @@ -70,7 +70,7 @@ struct bitmap *bitmap_talloc(TALLOC_CTX *mem_ctx, int n) bm = TALLOC_P(mem_ctx, struct bitmap); if (!bm) return NULL; - + bm->n = n; bm->b = TALLOC_ARRAY(mem_ctx, uint32, (n+31)/32); if (!bm->b) { |