X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=server.c;h=d48a0c91e391e7238c551602dacc56a0f378899b;hp=80cc8f46e36a6e70be2ed13da7bfcce6f5d5a27d;hb=ff5830c9fc83ee59be9351c7ff45c1e376bac22b;hpb=33fd098da75b01acc09cb7695800e7488420f552;ds=sidebyside diff --git a/server.c b/server.c index 80cc8f46..d48a0c91 100644 --- a/server.c +++ b/server.c @@ -166,7 +166,7 @@ void para_log(int ll, const char* fmt,...) fprintf(outfd, "%i: ", ll); mypid = getpid(); if (conf.loglevel_arg <= INFO) - fprintf(outfd, "(%d) ", mypid); + fprintf(outfd, "(%d) ", (int)mypid); va_start(argp, fmt); vfprintf(outfd, fmt, argp); va_end(argp);