Skip to content

Conversation

@compnerd
Copy link
Member

The tests were using test_double_less_than_or_equal which raised a warning
when building on Linux-x86_64:

tests/dispatch_select.c:72:51: error: implicit conversion from 'ssize_t' (aka 'long') to 'double' may lose precision
tests/dispatch_select.c:131:61: error: implicit conversion from 'long' to 'double' may lose precision

Use test_sizet_less_than_or_equal instead.

The tests were using `test_double_less_than_or_equal` which raised a warning
when building on Linux-x86_64:

```
tests/dispatch_select.c:72:51: error: implicit conversion from 'ssize_t' (aka 'long') to 'double' may lose precision
tests/dispatch_select.c:131:61: error: implicit conversion from 'long' to 'double' may lose precision
```

Use `test_sizet_less_than_or_equal` instead.
@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

@ktopley-apple - okay to merge?

@ktopley-apple ktopley-apple merged commit f6e30ed into swiftlang:master Sep 18, 2019
@compnerd compnerd deleted the size-is-not-double branch September 18, 2019 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants