Use UINT64_C macro for uint64_t constant in tests

A long constant might not be sufficient.
This commit is contained in:
Romain Vimont 2021-11-20 12:15:15 +01:00
parent 44721ed982
commit 0427a981e5
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ static void test_serialize_inject_touch_event(void) {
.type = CONTROL_MSG_TYPE_INJECT_TOUCH_EVENT,
.inject_touch_event = {
.action = AMOTION_EVENT_ACTION_DOWN,
.pointer_id = 0x1234567887654321L,
.pointer_id = UINT64_C(0x1234567887654321),
.position = {
.point = {
.x = 100,