[F] Fixed more clang-tidy warnings

This commit is contained in:
seleznevae
2019-01-01 19:07:57 +03:00
parent 8e58d1b8c4
commit a458d7fdf6
4 changed files with 10 additions and 10 deletions

View File

@@ -838,7 +838,7 @@ static void set_border_props_for_props(fort_table_properties_t *properties, cons
|| (const struct fort_border_style *)style == &FORT_BOLD_STYLE
|| (const struct fort_border_style *)style == &FORT_BOLD2_STYLE
|| (const struct fort_border_style *)style == &FORT_FRAME_STYLE) {
memcpy(&(properties->border_style), (struct fort_border_style *)style, sizeof(struct fort_border_style));
memcpy(&(properties->border_style), (const struct fort_border_style *)style, sizeof(struct fort_border_style));
return;
}