mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 17:51:01 +00:00
Use time_t for time values throughout rather than assuming it's long
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17799 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c3b3d5f095
commit
4532063027
1 changed files with 2 additions and 2 deletions
|
@ -824,7 +824,7 @@ static unsigned long prb_used = 0;
|
||||||
static unsigned long prb_size = 0;
|
static unsigned long prb_size = 0;
|
||||||
typedef struct {
|
typedef struct {
|
||||||
struct in_addr sin;
|
struct in_addr sin;
|
||||||
long when;
|
time_t when;
|
||||||
} prb_type;
|
} prb_type;
|
||||||
static prb_type **prb = 0;
|
static prb_type **prb = 0;
|
||||||
|
|
||||||
|
@ -936,7 +936,7 @@ prb_del(struct in_addr *p)
|
||||||
* thirty minutes (as long as we have sent as probe in that time).
|
* thirty minutes (as long as we have sent as probe in that time).
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
prb_tim(long when)
|
prb_tim(time_t when)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue