Commit fef484ba authored by Alex Khouderchah's avatar Alex Khouderchah Committed by Bjorn Andersson
Browse files

libqrtr: Use size_t for offsets

Currently, offsetof produces an unsigned long, while qmi_elem_info's
offset member is a uint32_t. Since this is not the same type on all
platforms, this change uses a size_t for both. stddef.h is also
included for the standard offsetof definition, which also produces a
size_t.

This change also makes similar modifications to list.h.
parent 2ed52a30
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment