diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-11-17 11:14:53 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-11-17 11:26:08 -0800 |
commit | 4adcd841e3e09982272b2f79ef3aadfb257814e3 (patch) | |
tree | 2e83a622ba24793a7217403254e4ad17a34a037c /autogen.sh | |
parent | ba46dd91f2b2248e459911b38acd49a776c748f2 (diff) |
Handle -Wshorten-64-to-32 warnings from clang
Xdamage.c:265:28: warning: implicit conversion loses integer precision: 'Drawable' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32]
awire->drawable = aevent->drawable;
~ ~~~~~~~~^~~~~~~~
Xdamage.c:266:26: warning: implicit conversion loses integer precision: 'Damage' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32]
awire->damage = aevent->damage;
~ ~~~~~~~~^~~~~~
Xdamage.c:268:29: warning: implicit conversion loses integer precision: 'Time' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32]
awire->timestamp = aevent->timestamp;
~ ~~~~~~~~^~~~~~~~~
Xdamage.c:326:26: warning: implicit conversion loses integer precision: 'Damage' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32]
req->damage = damage = XAllocID (dpy);
~ ~~~~~~~^~~~~~~~~~~~~~~~
Xdamage.c:327:21: warning: implicit conversion loses integer precision: 'Drawable' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32]
req->drawable = drawable;
~ ^~~~~~~~
Xdamage.c:345:19: warning: implicit conversion loses integer precision: 'Damage' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32]
req->damage = damage;
~ ^~~~~~
Xdamage.c:362:19: warning: implicit conversion loses integer precision: 'Damage' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32]
req->damage = damage;
~ ^~~~~~
Xdamage.c:363:19: warning: implicit conversion loses integer precision: 'XserverRegion' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32]
req->repair = repair;
~ ^~~~~~
Xdamage.c:364:18: warning: implicit conversion loses integer precision: 'XserverRegion' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32]
req->parts = parts;
~ ^~~~~
Xdamage.c:380:21: warning: implicit conversion loses integer precision: 'Drawable' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32]
req->drawable = drawable;
~ ^~~~~~~~
Xdamage.c:381:19: warning: implicit conversion loses integer precision: 'XserverRegion' (aka 'unsigned long') to 'CARD32' (aka 'unsigned int') [-Wshorten-64-to-32]
req->region = region;
~ ^~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions