We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents afd6b6d + 918310c commit 87ae119Copy full SHA for 87ae119
tests/dispatch_timer_short.c
@@ -52,10 +52,11 @@ static
52
void
53
test_fin(void *cxt)
54
{
55
- unsigned long finalCount = (unsigned long)count;
+ uint32_t finalCount = (uint32_t)count;
56
fprintf(stderr, "Called back every %llu us on average\n",
57
(delay/finalCount)/NSEC_PER_USEC);
58
- test_long_less_than("Frequency", 1, (long)ceil((double)delay/(finalCount*interval)));
+ test_long_less_than("Frequency", 1,
59
+ (long)ceil((double)delay/(double)(finalCount*interval)));
60
int i;
61
for (i = 0; i < N; i++) {
62
dispatch_source_cancel(t[i]);
0 commit comments