Skip to content

drm_hwcomposer: Fix DrmProperty log build failure

Tim Van Patten requested to merge timvp/drm-hwcomposer:fix_logging into main

DrmProperty logs the uint64_t property value if it is unrecognized. However, this type can be represented multiple ways:

  • unsigned long (%lu)
  • unsigned long long (%llu)

This generates build errors when the wrong type is used.

The correct way to log the value with with |PRIu64|.

Signed-off-by: Tim Van Patten timvp@google.com

Merge request reports

Loading