Make some variable storage bit width agnostic for transport.

This commit is contained in:
joluxer
2021-06-13 11:19:35 +02:00
committed by Kim Woelders
parent 8f03384964
commit a21ba0cb9c
+3 -2
View File
@@ -11,6 +11,7 @@
#include <poll.h> #include <poll.h>
#include <pthread.h> #include <pthread.h>
#include <signal.h> #include <signal.h>
#include <stdint.h>
#include <stdarg.h> #include <stdarg.h>
#include <stddef.h> #include <stddef.h>
#include <stdio.h> #include <stdio.h>
@@ -791,8 +792,8 @@ ttynvt_ioctl(fuse_req_t req, int cmd, void *arg,
int mcr; int mcr;
int val; int val;
int res; int res;
unsigned char byte; uint8_t byte;
unsigned int byte4; uint32_t byte4;
DBG("%s: cmd=%s arg=%p ibuf=%p:%u obuf=:%u\n", __func__, DBG("%s: cmd=%s arg=%p ibuf=%p:%u obuf=:%u\n", __func__,
_ioctl_name(cmd), arg, in_buf, _ioctl_name(cmd), arg, in_buf,