+----------------------------------------------------------------------+
| APC |
+----------------------------------------------------------------------+
- | Copyright (c) 2006 The PHP Group |
+ | Copyright (c) 2008 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
*/
-/* $Id: apc_mmap.c,v 3.7 2007/12/20 23:00:51 shire Exp $ */
+/* $Id: apc_mmap.c,v 3.7.2.2 2008/05/11 18:57:00 rasmus Exp $ */
#include "apc.h"
unlink(file_mask);
}
}
- if((int)shmaddr == -1) {
+ if((long)shmaddr == -1) {
apc_eprint("apc_mmap: mmap failed:");
}
return shmaddr;