summaryrefslogtreecommitdiff
blob: 1d36fdfd22d84e51e895f3deea379728c17babbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Bug: https://bugs.gentoo.org/894338
--- a/src/cookies.c
+++ b/src/cookies.c
@@ -66,7 +66,7 @@ cookies_destroy(COOKIES this)
 BOOLEAN
 cookies_add(COOKIES this, char *str, char *host)
 {
-  size_t  id    = pthread_self();
+  size_t  id    = (size_t) pthread_self();
   //int     hlen  = 0;
   //int     dlen  = 0;
   NODE   *cur   = NULL; 
@@ -169,7 +169,7 @@ cookies_header(COOKIES this, char *host, char *newton)
   time_t now;
   struct tm tm;
   char   oreo[MAX_COOKIES_SIZE];
-  size_t id = pthread_self();
+  size_t id = (size_t) pthread_self();
 
   memset(oreo, '\0', sizeof oreo);
 
--- a/src/ftp.c
+++ b/src/ftp.c
@@ -151,7 +151,7 @@ ftp_stor(CONN *C, URL U)
 {
   size_t  len;
   char    *file;
-  size_t  id = pthread_self();
+  size_t  id = (size_t) pthread_self();
   int     num = 2;
   char    **parts;