9c13b85665
If offset is only 32-bit, then it can never be > UINT32_MAX, so added another conditional that only if the type (off_t) is larger than 32-bit, we perform the maximum value check. off_t is not a standard type and thus the size of it is poorly defined, and are just defined as a signed integer type. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
ots.c | ||
ots_client.c | ||
ots_client_internal.h | ||
ots_dir_list.c | ||
ots_dir_list_internal.h | ||
ots_internal.h | ||
ots_l2cap.c | ||
ots_l2cap_internal.h | ||
ots_oacp.c | ||
ots_oacp_internal.h | ||
ots_obj_manager.c | ||
ots_obj_manager_internal.h | ||
ots_olcp.c | ||
ots_olcp_internal.h |