From: Fabian Keil Date: Tue, 26 Dec 2006 17:38:50 +0000 (+0000) Subject: Silence compiler warning I introduced with my last commit. X-Git-Tag: v_3_0_7~428 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=56a86b80f13c8f4247505b99482f71e6290a4afa Silence compiler warning I introduced with my last commit. --- diff --git a/jcc.c b/jcc.c index 76fa1c34..967a984d 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.111 2006/12/23 16:15:06 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.112 2006/12/26 17:31:41 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -33,6 +33,12 @@ const char jcc_rcs[] = "$Id: jcc.c,v 1.111 2006/12/23 16:15:06 fabiankeil Exp $" * * Revisions : * $Log: jcc.c,v $ + * Revision 1.112 2006/12/26 17:31:41 fabiankeil + * Mutex protect rand() if POSIX threading + * is used, warn the user if that's not possible + * and stop using it on _WIN32 where it could + * cause crashes. + * * Revision 1.111 2006/12/23 16:15:06 fabiankeil * Don't prevent core dumps by catching SIGABRT. * It's rude and makes debugging unreasonable painful. @@ -2078,7 +2084,7 @@ int main(int argc, const char *argv[]) #endif { int argc_pos = 0; - int random_seed; + unsigned int random_seed; #ifdef unix struct passwd *pw = NULL; struct group *grp = NULL;