diff options
author | Patrick Venture <venture@google.com> | 2018-10-13 10:06:13 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2018-10-17 22:45:46 +0000 |
commit | d99148b3a0e72775ec217ff4060e3021c50299c3 (patch) | |
tree | 56cd6ea977fdc7877d3beaf2c11b4a9e97898b0b /scripts | |
parent | 4d1a5dd4a55b8886ce8fc7512578ba3438faf386 (diff) | |
download | phosphor-host-ipmid-d99148b3a0e72775ec217ff4060e3021c50299c3.tar.gz phosphor-host-ipmid-d99148b3a0e72775ec217ff4060e3021c50299c3.zip |
cleanup: c-style casting
[ipmisensor.cpp:308]: (style) C-style pointer casting
[sensorhandler.cpp:302]: (style) C-style pointer casting
[sensorhandler.cpp:376]: (style) C-style pointer casting
[sensorhandler.cpp:404]: (style) C-style pointer casting
[sensorhandler.cpp:405]: (style) C-style pointer casting
[storageaddsel.cpp:157]: (style) C-style pointer casting
[storageaddsel.cpp:187]: (style) C-style pointer casting
Added missing const in reportSensorEventAssert and
reportSensorEventDeassert as the *pTable->func(...) take the const
pointer and the casting then was using the proper const casting.
Change-Id: I54a591b4e5e678b8ec3cae2633617a5f7aac7a66
Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions