aboutsummaryrefslogtreecommitdiff
path: root/src/Startup.c
diff options
context:
space:
mode:
authortradke <tradke@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2001-09-20 21:48:03 +0000
committertradke <tradke@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2001-09-20 21:48:03 +0000
commit64783aa042ccb906c1bd2d8394fc64278b0aea2b (patch)
tree22378b6e3f48dc92397c2112eb186b9c0721ac67 /src/Startup.c
parent44b3f0be9b857bd6bf4a72a4837ccc85682037cd (diff)
gcc compiler warnings fixed.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@134 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src/Startup.c')
-rw-r--r--src/Startup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Startup.c b/src/Startup.c
index d87805e..f29037a 100644
--- a/src/Startup.c
+++ b/src/Startup.c
@@ -252,7 +252,7 @@ int HTTP_Shutdown(void)
#ifdef CCTK_PTHREADS
static void * HTTP_Thread(void *cctkGH)
{
- CCTK_INT *terminate;
+ CCTK_INT terminate;
int type;
do
@@ -260,9 +260,9 @@ static void * HTTP_Thread(void *cctkGH)
/* Only poll for a few seconds in case we are terminated */
HTTP_Poll((cGH *)cctkGH, 10, 0);
- terminate = (CCTK_INT *)CCTK_ParameterGet("terminate",CCTK_THORNSTRING, &type);
+ terminate = *(const CCTK_INT *)CCTK_ParameterGet("terminate",CCTK_THORNSTRING, &type);
- } while(! *terminate);
+ } while(! terminate);
return NULL;
}