projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc6bc66
)
modetest: use sized integers in struct bo
author
Simon Ser
<contact@emersion.fr>
Wed, 2 Nov 2022 17:43:58 +0000
(18:43 +0100)
committer
Simon Ser
<contact@emersion.fr>
Wed, 2 Nov 2022 17:46:15 +0000
(18:46 +0100)
Use the same size types as the kernel.
Signed-off-by: Simon Ser <contact@emersion.fr>
tests/modetest/buffers.c
patch
|
blob
|
history
diff --git
a/tests/modetest/buffers.c
b/tests/modetest/buffers.c
index
3336329
..
8305db4
100644
(file)
--- a/
tests/modetest/buffers.c
+++ b/
tests/modetest/buffers.c
@@
-44,9
+44,9
@@
struct bo
{
int fd;
void *ptr;
-
size
_t size;
-
size
_t pitch;
- u
nsigned
handle;
+
uint64
_t size;
+
uint32
_t pitch;
+ u
int32_t
handle;
};
/* -----------------------------------------------------------------------------