modetest: use sized integers in struct bo

Use the same size types as the kernel.

Signed-off-by: Simon Ser <contact@emersion.fr>
main
Simon Ser 2022-11-02 18:43:58 +01:00
parent fc6bc66c64
commit ce22377778
1 changed files with 3 additions and 3 deletions

View File

@ -44,9 +44,9 @@ struct bo
{ {
int fd; int fd;
void *ptr; void *ptr;
size_t size; uint64_t size;
size_t pitch; uint32_t pitch;
unsigned handle; uint32_t handle;
}; };
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------