Fix -Wformat errors with explicit void* -> char* cast. #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
hardware/qcom/sm7250/display/sde-drm/drm_plane.cpp:439:12: error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
blob->data, blob->length);
^~~~~~~~~~
hardware/qcom/sm7250/display/sde-drm/drm_connector.cpp:497:12: error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
blob->data, blob->length);
^~~~~~~~~~
hardware/qcom/sm7250/display/sde-drm/drm_connector.cpp:580:12: error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
blob->data, blob->length);
^~~~~~~~~~
hardware/qcom/sm7250/display/sde-drm/drm_crtc.cpp:308:12: error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
blob->data, blob->length);
^~~~~~~~~~
Bug: http://b/155835175
Bug: http://b/169166735
Test: m
Change-Id: Ie9c174aaa38bb9a492b433b27ebafcfe1e1fc115
Merged-In: Ie9c174aaa38bb9a492b433b27ebafcfe1e1fc115
(cherry picked from commit d6c77ce7fae676a501db369ea2c2378f14cda6b2)