소스 검색

explicit test

Francois Perrad 10 년 전
부모
커밋
4ced626051
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/uthash.h

+ 1 - 1
src/uthash.h

@@ -872,7 +872,7 @@ do {
 } while(0)
 
 #define HASH_OVERHEAD(hh,head)                                                   \
- ((head) ? (                                                                     \
+ ((head != NULL) ? (                                                             \
  (size_t)((((head)->hh.tbl->num_items   * sizeof(UT_hash_handle))   +            \
            ((head)->hh.tbl->num_buckets * sizeof(UT_hash_bucket))   +            \
             (sizeof(UT_hash_table))                                 +            \