diff --git a/src/core/support/histogram.c b/src/core/support/histogram.c
index 78dbf98684ace19e79f92e0fddc1ff6b390517ca..8a1a9d92330d2210d2195dc4adea0c0c8f30b5c7 100644
--- a/src/core/support/histogram.c
+++ b/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;
 }