Merge pull request #3568 from sreecha/fix-mac-compilation-error

Fix float to bool conversion compilation error in mac
pull/3570/head
Vijay Pai 9 years ago
commit 3ba6bf57d7
  1. 2
      src/core/support/histogram.c

@ -212,7 +212,7 @@ double gpr_histogram_percentile(gpr_histogram *h, double percentile) {
}
double gpr_histogram_mean(gpr_histogram *h) {
GPR_ASSERT(h->count);
GPR_ASSERT(h->count != 0);
return h->sum / h->count;
}

Loading…
Cancel
Save