size_t should be cast'ed to unsigned long.
This commit is contained in:
parent
199b39279a
commit
1b198d8f16
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ip_proxy.c,v 1.3 2005/02/09 08:21:27 he Exp $ */
|
||||
/* $NetBSD: ip_proxy.c,v 1.4 2005/02/09 23:42:30 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1997-2003 by Darren Reed.
|
||||
|
@ -418,8 +418,8 @@ nat_t *nat;
|
|||
KMALLOC(aps, ap_session_t *);
|
||||
if (!aps) {
|
||||
if (ipf_proxy_debug > 0)
|
||||
printf("appr_new: malloc failed (%u)\n",
|
||||
(unsigned int)sizeof(ap_session_t));
|
||||
printf("appr_new: malloc failed (%lu)\n",
|
||||
(u_long)sizeof(ap_session_t));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue