Copyright, casting fixes

pull/5662/head
Craig Tiller 9 years ago
parent a39c199562
commit 5f3ba8c834
  1. 2
      src/core/iomgr/timer_heap.c
  2. 4
      test/core/iomgr/timer_heap_test.c

@ -1,6 +1,6 @@
/*
*
* Copyright 2015, Google Inc.
* Copyright 2015-2016, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without

@ -1,6 +1,6 @@
/*
*
* Copyright 2015, Google Inc.
* Copyright 2015-2016, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -184,7 +184,7 @@ static void test2(void) {
memset(elems, 0, sizeof(elems));
for (size_t round = 0; round < 10000; round++) {
int r = (size_t)rand() % 1000;
int r = rand() % 1000;
if (r <= 550) {
/* 55% of the time we try to add something */
elem_struct *el = search_elems(elems, GPR_ARRAY_SIZE(elems), false);

Loading…
Cancel
Save