summaryrefslogtreecommitdiff
path: root/ubifs-utils/mkfs.ubifs/crc16.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2016-08-23 10:51:21 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2016-11-17 11:16:21 +0100
commit13fe15589730fba339fd4e3c7faf3e297630f3dd (patch)
treef409d9ea2ce90a1bd320e4d535919fcd5b67b3b8 /ubifs-utils/mkfs.ubifs/crc16.c
parent3391c127f4999b47299e51d305907c772c01167c (diff)
Eliminate warnings about implicit non-const casting in libmtd
The mtd_get_dev_info1 function reads (among other things) name and type string into coresponding struct mtd_dev_info fields. The struct mtd_dev_info has the string fields marked const, requiring them to be cast to non-const version during initialization. This cast was previously omitted from the dev_read_data calls, triggering warnings during compilation. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'ubifs-utils/mkfs.ubifs/crc16.c')
0 files changed, 0 insertions, 0 deletions