From d3f433a626e18f30bb5c93d05eaf3a77fa7865f5 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sat, 6 Mar 1999 06:17:44 +0000 Subject: [PATCH] printf(%ld, pid) -> printf(%ld, (long)pid) --- tests/progs/slapd-read.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } -- 2.39.5