mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-20 07:00:08 +01:00
linux-dmabuf: fix typo in dev_t example code
dev_t is not a struct, it's a typedef. Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
a52b8f025a
commit
c2ceb5f14d
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ A client can decode the values as follows:
|
|||
|
||||
.. code-block:: c
|
||||
|
||||
struct dev_t dev;
|
||||
dev_t dev;
|
||||
assert(dev_array->size == sizeof(dev));
|
||||
memcpy(&dev, dev_array->data, sizeof(dev));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue