edit: hmm, maybe not:
https://cigix.me/c17#6.3.2.3.p5
Looks like gcc rejects the implicit conversion with -std=c17 -pedantic-errors as it's such a bad idea to allow this, but ISO C actually allows this.
edit: hmm, maybe not:
https://cigix.me/c17#6.3.2.3.p5
Looks like gcc rejects the implicit conversion with -std=c17 -pedantic-errors as it's such a bad idea to allow this, but ISO C actually allows this.