marc 98/03/20 18:06:06
Modified: src/main http_main.c Log: Cast getpid() return to unsigned long to stop compilers from whining. Possibly bogus, but without a smarter configuration script we have no other option. Revision Changes Path 1.309 +2 -1 apache-1.3/src/main/http_main.c Index: http_main.c =================================================================== RCS file: /export/home/cvs/apache-1.3/src/main/http_main.c,v retrieving revision 1.308 retrieving revision 1.309 diff -u -r1.308 -r1.309 --- http_main.c 1998/03/17 23:24:10 1.308 +++ http_main.c 1998/03/21 02:06:05 1.309 @@ -339,7 +339,8 @@ { char buf[20]; - ap_snprintf(buf, sizeof(buf), ".%lu", getpid()); + /* XXXX possibly bogus cast */ + ap_snprintf(buf, sizeof(buf), ".%lu", (unsigned long)getpid()); lock_fname = pstrcat(p, server_root_relative(p, lock_fname), buf, NULL); } #endif