]> git.sur5r.net Git - openldap/commitdiff
Warning cleanup: function ptr <=> void* at ldap_pvt_thread_pool_<set/get>key()
authorQuanah Gibson-Mount <quanah@openldap.org>
Mon, 11 Feb 2008 23:59:56 +0000 (23:59 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 11 Feb 2008 23:59:56 +0000 (23:59 +0000)
libraries/libldap_r/tpool.c

index 842f1b260ee7321b9a21b76b0f070d8656e323a7..968cdca9c669e9c7fd59ab66e393df5b6899e2d0 100644 (file)
@@ -790,7 +790,7 @@ int ldap_pvt_thread_pool_setkey(
                if ( found ) {
                        *oldkfreep = ctx->ltu_key[i].ltk_free;
                } else {
-                       *oldkfreep = NULL;
+                       *oldkfreep = 0;
                }
        }