summaryrefslogtreecommitdiff
path: root/tests/kmstest
diff options
context:
space:
mode:
authorEleni Maria Stea <elene.mst@gmail.com>2022-05-09 14:59:37 +0300
committerEleni Maria Stea <elene.mst@gmail.com>2022-05-09 15:53:56 +0300
commit4caec56fb8ebfe475a83315a12941d80808f4dee (patch)
tree060b806454120e42b00bba1710a1e2975e23872f /tests/kmstest
parentc907d4ade13a0ef883972f4bafdc94bc8c1f3573 (diff)
modeprint, modetest, proptest: cast __u64 to uint64_t
It seems that __u64 values are defined differently across systems. In glibc it's defined as unsigned long, in Linux kernel headers (int-ll64.h) as unsigned long long, and on FreeBSD as uint64_t so it matches glibc. A temporal solution is to cast all __u64 values to uint64_t to avoid warnings on Linux, but ideally we'd like a better fix in the future. See also: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/212 for discussion. Signed-off-by: Eleni Maria Stea <elene.mst@gmail.com>
Diffstat (limited to 'tests/kmstest')
0 files changed, 0 insertions, 0 deletions