Skip to content

Commit c948dd9

Browse files
committed
fixing PVS warnings
1 parent ed1b927 commit c948dd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/f7/ble_glue/services/dev_info_service.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ static char software_revision[DEVICE_INFO_SOFTWARE_REV_SIZE] = {0};
3636

3737
static bool
3838
dev_info_char_data_callback(const void* context, const uint8_t** data, uint16_t* data_len) {
39-
*data_len = strlen(context);
39+
*data_len = (uint16_t)strlen(context); //-V1029
4040
if(data) {
4141
*data = (const uint8_t*)context;
4242
}

0 commit comments

Comments
 (0)