Explicitly cast the return value

When this library was used with bios-bmc-smm-error-logger, it was
failing because of a clang-tidy warning(For some reason clang-tidy
runs on subprojects/libbej as well.).

We need to explicitly cast to stop this warning.

Tested:
Tested running CI locally for bios-bmc-smm-error-logger with this
change and it passed.

Signed-off-by: Kasun Athukorala <kasunath@google.com>
Change-Id: Ia8a33a08576cc0f2de50ecba77f3b57eab7fe48e
1 file changed
tree: 6458cb3cf5ed65d762a5fc475b4e80069c96b419
  1. include/
  2. src/
  3. test/
  4. .clang-format
  5. .gitignore
  6. LICENSE
  7. MAINTAINERS
  8. meson.build
  9. meson_options.txt
  10. OWNERS
  11. README.md
README.md

libbej

This library can be used to decode RDE bej data. More details on how to use the library will be added in the future.