From 90bd7c4c4daec7cc777439ba69688e995b01889f Mon Sep 17 00:00:00 2001 From: Julien Boeuf Date: Wed, 18 Feb 2015 18:51:16 -0800 Subject: Fixing sprintf and a few other things. --- test/core/security/fetch_oauth2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/core/security/fetch_oauth2.c b/test/core/security/fetch_oauth2.c index 369c34a5a5..6315087448 100644 --- a/test/core/security/fetch_oauth2.c +++ b/test/core/security/fetch_oauth2.c @@ -95,7 +95,7 @@ static grpc_credentials *create_service_account_creds( break; } current += bytes_read; - } while (sizeof(json_key) > (current - json_key)); + } while (sizeof(json_key) > (size_t)(current - json_key)); if ((current - json_key) == sizeof(json_key)) { gpr_log(GPR_ERROR, "Json key file %s exceeds size limit (%d bytes).", -- cgit v1.2.3