fix warning on platforms where pthread_t may be a pointer
authorNathan Bryant <loanshark@uncensored.citadel.org>
Mon, 25 Mar 2002 03:09:40 +0000 (03:09 +0000)
committerNathan Bryant <loanshark@uncensored.citadel.org>
Mon, 25 Mar 2002 03:09:40 +0000 (03:09 +0000)
citadel/ChangeLog
citadel/client_crypto.c

index 82a1e37cdd48ccbb0ebdbcc10b44530e932bbdf7..f8aba6139e96e5f64b8d3e07ec9be5890b51ed4a 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 590.162  2002/03/25 03:09:39  nbryant
+ fix warning on platforms where pthread_t may be a pointer
+
  Revision 590.161  2002/03/25 00:01:50  nbryant
   * compatibility with Berkeley DB < 3.3
   * squished symbol clashes with the OK symbol from curses in certain *n[iu]x
@@ -3535,3 +3538,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
+
index fa007d2a81477ace3979566fc1cae5ee2f16c814..aadc074e5ddbc353942bf57a45f1f1f14dd6926d 100644 (file)
@@ -130,7 +130,7 @@ void ssl_lock(int mode, int n, const char *file, int line)
 
 #if defined(THREADED_CLIENT) && defined(HAVE_OPENSSL)
 static unsigned long id_callback(void) {
-       return pthread_self();
+       return (unsigned long)pthread_self();
 }
 #endif