mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-09 09:48:05 +02:00
Specify the return type explicitly.
This commit is contained in:
parent
6dd804c5a9
commit
8d055890d9
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@
|
|||
#define U642VOID(x) ((void *)(unsigned long)(x))
|
||||
#define VOID2U64(x) ((uint64_t)(unsigned long)(x))
|
||||
|
||||
static inline DRM_IOCTL(int fd, int cmd, void *arg)
|
||||
static inline int DRM_IOCTL(int fd, int cmd, void *arg)
|
||||
{
|
||||
int ret = drmIoctl(fd, cmd, arg);
|
||||
return ret < 0 ? -errno : ret;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue