Use UINT64_C macro for uint64_t constant in tests
A long constant might not be sufficient.
This commit is contained in:
parent
44721ed982
commit
0427a981e5
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ static void test_serialize_inject_touch_event(void) {
|
||||||
.type = CONTROL_MSG_TYPE_INJECT_TOUCH_EVENT,
|
.type = CONTROL_MSG_TYPE_INJECT_TOUCH_EVENT,
|
||||||
.inject_touch_event = {
|
.inject_touch_event = {
|
||||||
.action = AMOTION_EVENT_ACTION_DOWN,
|
.action = AMOTION_EVENT_ACTION_DOWN,
|
||||||
.pointer_id = 0x1234567887654321L,
|
.pointer_id = UINT64_C(0x1234567887654321),
|
||||||
.position = {
|
.position = {
|
||||||
.point = {
|
.point = {
|
||||||
.x = 100,
|
.x = 100,
|
||||||
|
|
Loading…
Reference in a new issue