I2C Library fails to compile when transmitting a zero

Has anyone else seen issues with the I2C library failing to compile if you try to transmit a value of zero out over the bus? It seems that the line of code Wire.write(0x00); will cause the compiler to fail and I don’t understand why.

I’ve attached a screenshot of the issue, any feedback would be appreciated. I know this line of code worked fine in an older version of the IDE but apparently something changed in the last few months.

Update: It appears this is specific to the SAMD platforms, I can compile my code no problem on any of the AVRs or SAM boards.

The compiler appears to be having trouble decide which write() method to call. Try this to be more explicit: Wire.write(uint8_t(0x00)).

The issue has already been patched on the SAMD core, looks like it should be included in the 1.6.6 release.