fixed warning from comparing different enum types
fixed warning from comparing different enum types

Change-Id: I52c0ae14c4633353745a0b1ba1a3956cb1734c5f
Reviewed-on: http://review.membase.org/4805
Tested-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>
Reviewed-by: Steve Yen <ef850f73f7832052d3c6d9b5ddd3a1716d9a57f1@gmail.com>

zbase/moxi,couchbase/moxi,membase/moxi,membase/moxi,couchbase/moxi,couchbase/moxi,couchbase/moxi,couchbase/moxi,couchbase/moxi,zbase/moxi,zbase/moxi,zbase/moxi,membase/moxi,membase/moxi,membase/moxi,zbase/moxi,membase/moxi