diff options
author | Julien Boeuf <jboeuf@google.com> | 2015-02-18 18:51:16 -0800 |
---|---|---|
committer | Julien Boeuf <jboeuf@google.com> | 2015-02-18 18:53:18 -0800 |
commit | 90bd7c4c4daec7cc777439ba69688e995b01889f (patch) | |
tree | 3aacd33856d4b6cb033e69d15172dfe511f13931 /test | |
parent | 97303a9db734486074a39de500064ba00d58749a (diff) |
Fixing sprintf and a few other things.
Diffstat (limited to 'test')
-rw-r--r-- | test/core/security/fetch_oauth2.c | 2 |
1 files changed, 1 insertions, 1 deletions
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).", |