diff options
| author | Jonathan Lemon <jlemon@FreeBSD.org> | 2001-12-19 15:57:43 +0000 |
|---|---|---|
| committer | Jonathan Lemon <jlemon@FreeBSD.org> | 2001-12-19 15:57:43 +0000 |
| commit | e579ba1aeaf8ceb2b73d6e929daf3a362b06ecf2 (patch) | |
| tree | e05300747076878b45c9d73930c5ec3c0f2afddd | |
| parent | 3f9e31220b6ebe58dec2781f026cc5556a555806 (diff) | |
Notes
| -rw-r--r-- | sys/netinet/tcp_syncache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c index b235f2e93d7c..d6ce983adfc8 100644 --- a/sys/netinet/tcp_syncache.c +++ b/sys/netinet/tcp_syncache.c @@ -175,7 +175,7 @@ static MALLOC_DEFINE(M_SYNCACHE, "syncache", "TCP syncache"); if (!callout_active(&tcp_syncache.tt_timerq[slot])) \ callout_reset(&tcp_syncache.tt_timerq[slot], \ TCPTV_RTOBASE * tcp_backoff[slot], \ - syncache_timer, (void *)((int)slot)); \ + syncache_timer, (void *)((intptr_t)slot)); \ } while (0) static void @@ -351,7 +351,7 @@ static void syncache_timer(xslot) void *xslot; { - int slot = (int)xslot; + intptr_t slot = (intptr_t)xslot; struct syncache *sc, *nsc; struct inpcb *inp; int s; |
