Use socklen_t as appropriate, so that this compiles on LP64

systems.
This commit is contained in:
thorpej 2000-08-06 06:48:50 +00:00
parent 8e63b5da59
commit e59093f4f7
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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);