Index: trunk/xcache.h
===================================================================
--- trunk/xcache.h	(revision 898)
+++ trunk/xcache.h	(revision 917)
@@ -227,7 +227,7 @@
 typedef ulong xc_hash_value_t;
 typedef struct {
-	int bits;
-	int size;
-	int mask;
+	size_t bits;
+	size_t size;
+	xc_hash_value_t mask;
 } xc_hash_t;
 
@@ -420,5 +420,5 @@
 	time_t     dtime;           /*  deletion time of this entry */
 	zend_ulong hits;
-	long       ttl;
+	zend_ulong ttl;
 
 	xc_entry_name_t name;
