Make some variable storage bit width agnostic for transport.
This commit is contained in:
+3
-2
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user