summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-06 18:17:12 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-01-01 14:34:58 -0800
commitce3d4de40fa89b2b209ab19acd763eec83bc70f1 (patch)
tree5ebb57db3c20c69aed8a6ccf48f63bf7734a07c3 /parse.c
parent84f5fee3c769fc907c561110f4828416f921e81a (diff)
Stop casting _parse_data pointers through (char *) and back
Eliminates clang warnings: cppsetup.c:41:30: warning: cast from 'char *' to 'struct _parse_data *' increases required alignment from 1 to 8 [-Wcast-align] struct _parse_data *pd = (struct _parse_data *) ip->data; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cppsetup.c:69:30: warning: cast from 'char *' to 'struct _parse_data *' increases required alignment from 1 to 8 [-Wcast-align] struct _parse_data *pd = (struct _parse_data *) ip->data; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'parse.c')
0 files changed, 0 insertions, 0 deletions