瀏覽代碼

Resolves: bug 454030
Description: Need to address 64-bit compiler warnings - part 1
Fix Description: missed one line from my previous commit

Rich Megginson 17 年之前
父節點
當前提交
4a045f0c37
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ldap/servers/slapd/back-ldbm/ldif2ldbm.c

+ 1 - 1
ldap/servers/slapd/back-ldbm/ldif2ldbm.c

@@ -269,7 +269,7 @@ int add_op_attrs(Slapi_PBlock *pb, struct ldbminfo *li, struct backentry *ep,
 int import_subcount_mother_init(import_subcount_stuff *mothers, ID parent_id,
                                 size_t count)
 {
-    PR_ASSERT(NULL == PL_HashTableLookup(mothers->hashtable,(void*)parent_id));
+    PR_ASSERT(NULL == PL_HashTableLookup(mothers->hashtable,(void*)((uintptr_t)parent_id)));
     PL_HashTableAdd(mothers->hashtable,(void*)((uintptr_t)parent_id),(void*)count);
     return 0;
 }