Message ID | 98e7a971-4a46-8780-1bf0-eb87752af9f2@xs4all.nl |
---|---|
State | New |
Headers | show |
Series | [git:v4l-utils/master] v4l2-tracer: use __s64 instead of long | expand |
diff --git a/utils/v4l2-tracer/retrace.cpp b/utils/v4l2-tracer/retrace.cpp index 29ac4a38298a..8667826c0488 100644 --- a/utils/v4l2-tracer/retrace.cpp +++ b/utils/v4l2-tracer/retrace.cpp @@ -1166,7 +1166,7 @@ void retrace_media_ioc_request_alloc(int fd_retrace, json_object *ioctl_args) void retrace_ioctl(json_object *syscall_obj) { - long cmd = 0; + __s64 cmd = 0; int fd_retrace = 0; json_object *fd_trace_obj; diff --git a/utils/v4l2-tracer/v4l2-tracer-common.h b/utils/v4l2-tracer/v4l2-tracer-common.h index 0bdb125d2135..a8ca68bb21af 100644 --- a/utils/v4l2-tracer/v4l2-tracer-common.h +++ b/utils/v4l2-tracer/v4l2-tracer-common.h @@ -41,7 +41,7 @@ #endif struct val_def { - long val; + __s64 val; const char *str; }; _______________________________________________