diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-11-17 11:07:10 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-11-17 11:26:08 -0800 |
commit | ba46dd91f2b2248e459911b38acd49a776c748f2 (patch) | |
tree | a2067cd7eb76a21290db00f0365000882e488f1e /configure.ac | |
parent | 90bb47685ed92df1eb5bbb9b6875a40f3e98bb43 (diff) |
Handle -Wconversion warnings from clang
Xdamage.c:81:30: warning: implicit conversion loses integer precision: 'int' to 'CARD8' (aka 'unsigned char') [-Wconversion]
req->reqType = info->codes->major_opcode;
~ ~~~~~~~~~~~~~^~~~~~~~~~~~
Xdamage.c:264:29: warning: implicit conversion loses integer precision: 'int' to 'CARD8' (aka 'unsigned char') [-Wconversion]
awire->type = aevent->type | (aevent->send_event ? 0x80 : 0);
~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Xdamage.c:267:31: warning: implicit conversion loses integer precision: 'int' to 'CARD8' (aka 'unsigned char') [-Wconversion]
awire->level = aevent->level | (aevent->more ? DamageNotifyMore : 0);
~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Xdamage.c:324:33: warning: implicit conversion loses integer precision: 'int' to 'CARD8' (aka 'unsigned char') [-Wconversion]
req->reqType = info->codes->major_opcode;
~ ~~~~~~~~~~~~~^~~~~~~~~~~~
Xdamage.c:328:18: warning: implicit conversion loses integer precision: 'int' to 'CARD8' (aka 'unsigned char') [-Wconversion]
req->level = level;
~ ^~~~~
Xdamage.c:343:33: warning: implicit conversion loses integer precision: 'int' to 'CARD8' (aka 'unsigned char') [-Wconversion]
req->reqType = info->codes->major_opcode;
~ ~~~~~~~~~~~~~^~~~~~~~~~~~
Xdamage.c:360:33: warning: implicit conversion loses integer precision: 'int' to 'CARD8' (aka 'unsigned char') [-Wconversion]
req->reqType = info->codes->major_opcode;
~ ~~~~~~~~~~~~~^~~~~~~~~~~~
Xdamage.c:378:33: warning: implicit conversion loses integer precision: 'int' to 'CARD8' (aka 'unsigned char') [-Wconversion]
req->reqType = info->codes->major_opcode;
~ ~~~~~~~~~~~~~^~~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions