ce5f13cdff
fgsch@ pval@ ok
13 lines
381 B
Plaintext
13 lines
381 B
Plaintext
$OpenBSD: patch-cookies_c,v 1.2 2003/06/12 13:47:44 brad Exp $
|
|
--- cookies.c.orig Tue May 20 13:31:14 2003
|
|
+++ cookies.c Wed Jun 4 08:57:14 2003
|
|
@@ -178,7 +178,7 @@ void delete_cookie(struct cookie *c)
|
|
|
|
struct cookie *find_cookie_id(void *idp)
|
|
{
|
|
- int id = (int)idp;
|
|
+ int id = (intptr_t)idp;
|
|
struct cookie *c;
|
|
foreach(c, cookies) if (c->id == id) return c;
|
|
return NULL;
|