Index: /trunk/mem.c
===================================================================
--- /trunk/mem.c	(revision 390)
+++ /trunk/mem.c	(revision 391)
@@ -295,5 +295,5 @@
 	/* requires at least the header and 1 tail block */
 	if (size < MINSIZE) {
-		fprintf(stderr, "xc_mem_init requires %d bytes at least\n", MINSIZE);
+		fprintf(stderr, "xc_mem_init requires %lu bytes at least\n", (unsigned long) MINSIZE);
 		return NULL;
 	}
Index: /trunk/xc_malloc.c
===================================================================
--- /trunk/xc_malloc.c	(revision 390)
+++ /trunk/xc_malloc.c	(revision 391)
@@ -121,5 +121,5 @@
 	/* requires at least the header and 1 tail block */
 	if (size < MINSIZE) {
-		fprintf(stderr, "xc_mem_malloc_init requires %d bytes at least\n", MINSIZE);
+		fprintf(stderr, "xc_mem_malloc_init requires %lu bytes at least\n", (unsigned long) MINSIZE);
 		return NULL;
 	}
Index: /trunk/xcache.c
===================================================================
--- /trunk/xcache.c	(revision 390)
+++ /trunk/xcache.c	(revision 391)
@@ -1742,5 +1742,5 @@
 	}
 	if (strlen(admin_pass) != 32) {
-		php_error_docref(NULL TSRMLS_CC, E_ERROR, "unexpect %d bytes of xcache.admin.pass, expected 32 bytes, the password after md5()", strlen(admin_pass));
+		php_error_docref(NULL TSRMLS_CC, E_ERROR, "unexpect %lu bytes of xcache.admin.pass, expected 32 bytes, the password after md5()", (unsigned long) strlen(admin_pass));
 		zend_bailout();
 	}
