Index: /branches/binary/server/memcached.c
===================================================================
--- /branches/binary/server/memcached.c (revision 754)
+++ /branches/binary/server/memcached.c (revision 755)
@@ -1123,5 +1123,5 @@
 }
 
-static void bin_read_key(conn *c, int next_substate, int extra) {
+static void bin_read_key(conn *c, enum bin_substates next_substate, int extra) {
     assert(c);
     c->substate = next_substate;
Index: /branches/binary/server/memcached.h
===================================================================
--- /branches/binary/server/memcached.h (revision 754)
+++ /branches/binary/server/memcached.h (revision 755)
@@ -218,5 +218,5 @@
     int    sfd;
     enum conn_states  state;
-    int    substate;
+    enum bin_substates substate;
     struct event event;
     short  ev_flags;
