Skip to content
Snippets Groups Projects
Commit d3f433a6 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

printf(%ld, pid) -> printf(%ld, (long)pid)

parent bc449105
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment