Skip to content
Snippets Groups Projects
Commit 0a5fce8c authored by David Garcia Quintas's avatar David Garcia Quintas
Browse files

vs doesn't like some c99 features...

parent 13c2f6e6
No related branches found
No related tags found
No related merge requests found
...@@ -152,7 +152,8 @@ grpc_compression_algorithm grpc_compression_algorithm_for_level( ...@@ -152,7 +152,8 @@ grpc_compression_algorithm grpc_compression_algorithm_for_level(
GRPC_COMPRESS_DEFLATE}; GRPC_COMPRESS_DEFLATE};
/* intersect algos_ranking with the supported ones keeping the ranked order */ /* intersect algos_ranking with the supported ones keeping the ranked order */
grpc_compression_algorithm sorted_supported_algos[num_supported]; grpc_compression_algorithm
sorted_supported_algos[GRPC_COMPRESS_ALGORITHMS_COUNT];
size_t algos_supported_idx = 0; size_t algos_supported_idx = 0;
for (size_t i = 0; i < GPR_ARRAY_SIZE(algos_ranking); i++) { for (size_t i = 0; i < GPR_ARRAY_SIZE(algos_ranking); i++) {
const grpc_compression_algorithm alg = algos_ranking[i]; const grpc_compression_algorithm alg = algos_ranking[i];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment