Use socklen_t as appropriate, so that this compiles on LP64
systems.
This commit is contained in:
parent
8e63b5da59
commit
e59093f4f7
4
crypto/dist/heimdal/kadmin/kadm_conn.c
vendored
4
crypto/dist/heimdal/kadmin/kadm_conn.c
vendored
@ -36,7 +36,7 @@
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
|
||||
RCSID("$Id: kadm_conn.c,v 1.1.1.1 2000/08/02 19:58:51 assar Exp $");
|
||||
RCSID("$Id: kadm_conn.c,v 1.2 2000/08/06 06:48:50 thorpej Exp $");
|
||||
|
||||
struct kadm_port {
|
||||
char *port;
|
||||
@ -124,7 +124,7 @@ spawn_child(krb5_context context, int *socks, int num_socks, int this_sock)
|
||||
{
|
||||
int e, i;
|
||||
struct sockaddr sa;
|
||||
size_t sa_size;
|
||||
socklen_t sa_size;
|
||||
int s;
|
||||
pid_t pid;
|
||||
krb5_address addr;
|
||||
|
4
crypto/dist/heimdal/kadmin/kadmind.c
vendored
4
crypto/dist/heimdal/kadmin/kadmind.c
vendored
@ -33,7 +33,7 @@
|
||||
|
||||
#include "kadmin_locl.h"
|
||||
|
||||
RCSID("$Id: kadmind.c,v 1.1.1.2 2000/08/02 19:58:52 assar Exp $");
|
||||
RCSID("$Id: kadmind.c,v 1.2 2000/08/06 06:48:50 thorpej Exp $");
|
||||
|
||||
static char *config_file;
|
||||
static char *keyfile;
|
||||
@ -135,7 +135,7 @@ main(int argc, char **argv)
|
||||
{
|
||||
int fd = 0;
|
||||
struct sockaddr sa;
|
||||
size_t sa_size;
|
||||
socklen_t sa_size;
|
||||
krb5_auth_context ac = NULL;
|
||||
int debug_port;
|
||||
sa_size = sizeof(sa);
|
||||
|
Loading…
Reference in New Issue
Block a user