From: Hallvard Furuseth Date: Sat, 6 Mar 1999 06:17:44 +0000 (+0000) Subject: printf(%ld, pid) -> printf(%ld, (long)pid) X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~463 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d3f433a626e18f30bb5c93d05eaf3a77fa7865f5;p=openldap printf(%ld, pid) -> printf(%ld, (long)pid) --- diff --git a/tests/progs/slapd-read.c b/tests/progs/slapd-read.c index b94ec3e705..7b4887f0be 100644 --- a/tests/progs/slapd-read.c +++ b/tests/progs/slapd-read.c @@ -97,7 +97,7 @@ do_read( char *host, int port, char *entry, int maxloop ) fprintf( stderr, "PID=%ld - Read(%d): entry=\"%s\".\n", - pid, maxloop, entry ); + (long) pid, maxloop, entry ); for ( i = 0; i < maxloop; i++ ) { LDAPMessage *res; @@ -115,7 +115,7 @@ do_read( char *host, int port, char *entry, int maxloop ) ldap_msgfree( res ); } - fprintf( stderr, " PID=%ld - Read done.\n", pid ); + fprintf( stderr, " PID=%ld - Read done.\n", (long) pid ); ldap_unbind( ld ); }