]> git.sur5r.net Git - openldap/commitdiff
ITS#5035 - cast printf %p argument to void*.
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 1 Jul 2007 14:17:28 +0000 (14:17 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 1 Jul 2007 14:17:28 +0000 (14:17 +0000)
libraries/libldap/request.c

index c147c2529acb20fea9422a7d350604da84050f0f..8b43f02b596a809fad4d1eec607c71d9238bf426 100644 (file)
@@ -482,7 +482,7 @@ ldap_new_connection( LDAP *ld, LDAPURLDesc *srvlist, int use_ldsb,
                                                        "ldap_new_connection %p: "
                                                        "unexpected response %d "
                                                        "from BIND request id=%d\n",
-                                                       ld, ldap_msgtype( res ), msgid );
+                                                       (void *)ld, ldap_msgtype( res ), msgid );
                                                err = -1;
                                                break;
                                        }