compilation warning fix

Change-Id: I872563906904727632f6c55f9086568285763d49
Reviewed-on: http://review.couchbase.org/43253
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>