diff options
Diffstat (limited to 'src/gallium/auxiliary/util/u_bitmask.c')
-rw-r--r-- | src/gallium/auxiliary/util/u_bitmask.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_bitmask.c b/src/gallium/auxiliary/util/u_bitmask.c index b19be29a5a4..c22f5068923 100644 --- a/src/gallium/auxiliary/util/u_bitmask.c +++ b/src/gallium/auxiliary/util/u_bitmask.c @@ -66,7 +66,7 @@ util_bitmask_create(void) struct util_bitmask *bm; bm = MALLOC_STRUCT(util_bitmask); - if(!bm) + if (!bm) return NULL; bm->words = (util_bitmask_word *)CALLOC(UTIL_BITMASK_INITIAL_WORDS, sizeof(util_bitmask_word)); @@ -114,7 +114,7 @@ util_bitmask_resize(struct util_bitmask *bm, new_words = (util_bitmask_word *)REALLOC((void *)bm->words, bm->size / UTIL_BITMASK_BITS_PER_BYTE, new_size / UTIL_BITMASK_BITS_PER_BYTE); - if(!new_words) + if (!new_words) return FALSE; memset(new_words + bm->size/UTIL_BITMASK_BITS_PER_WORD, |