mirror of
https://github.com/geoffdavis/esphome-mitsubishiheatpump
synced 2024-08-30 18:12:13 +00:00
Cast pointers to void* before comparision
This commit is contained in:
parent
4c98affd26
commit
e393e68799
@ -451,7 +451,7 @@ void MitsubishiHeatPump::setup() {
|
||||
"hw_serial(%p) is &Serial(%p)? %s",
|
||||
this->get_hw_serial_(),
|
||||
&Serial,
|
||||
YESNO(this->get_hw_serial_() == &Serial)
|
||||
YESNO((void *)this->get_hw_serial_() == (void *)&Serial)
|
||||
);
|
||||
|
||||
ESP_LOGCONFIG(TAG, "Calling hp->connect(%p)", this->get_hw_serial_());
|
||||
|
Loading…
Reference in New Issue
Block a user