tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From G√ľnter Knauf <fua...@apache.org>
Subject Re: Mod_Jk .. build problem changes.../resend
Date Sun, 13 Feb 2005 23:19:47 GMT
woops! was the wrong error and diff!

Hi,
and before you ask, the next error:

Compiling ../common/jk_worker.c
### mwccnlm Compiler:
#    File: ..\common\jk_worker.c
# ------------------------------
#      52:                              &we->num_of_workers)) {
#   Error:                                                ^
#   illegal implicit conversion from 'int *' to
#   'unsigned int *'

can be fixed for the moment with:

--- jk_worker.c.orig	Sun Feb 13 23:03:50 2005
+++ jk_worker.c	Sun Feb 13 23:59:50 2005
@@ -49,7 +49,7 @@
     }
 
     if (!jk_get_worker_list(init_data, &(we->worker_list),
-                            &we->num_of_workers)) {
+                            (unsigned int *)&we->num_of_workers)) {
         JK_TRACE_EXIT(l);
         we->num_of_workers = 0;
         we->worker_list = NULL;


however at the moment I cant find find the heck where the type mismatch really is...

Mladen: please take a look at jk_lc_worker.c where a couple of times num_of_workers is defined
as int instead of unsigned...

Guenter.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message