[Fedora-directory-commits] ldapserver/ldap/servers/slapd/back-ldbm ldif2ldbm.c, 1.17, 1.18

Richard Allen Megginson rmeggins at fedoraproject.org
Thu Oct 9 14:57:35 UTC 2008


Author: rmeggins

Update of /cvs/dirsec/ldapserver/ldap/servers/slapd/back-ldbm
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26015

Modified Files:
	ldif2ldbm.c 
Log Message:
Resolves: bug 454030
Description: Need to address 64-bit compiler warnings - part 1
Fix Description: missed one line from my previous commit



Index: ldif2ldbm.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/back-ldbm/ldif2ldbm.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ldif2ldbm.c	8 Oct 2008 17:29:04 -0000	1.17
+++ ldif2ldbm.c	9 Oct 2008 14:57:32 -0000	1.18
@@ -269,7 +269,7 @@
 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;
 }




More information about the Fedora-directory-commits mailing list