Message ID | 98e7a971-4a46-8780-1bf0-eb87752af9f2@xs4all.nl (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [git:v4l-utils/master] v4l2-tracer: use __s64 instead of long | expand |
Hi, On 24.02.23 15:52, Hans Verkuil wrote: > This one should probably go to a 1.24.1 stable release. > > Sorry about that, we didn't try to build on a 32 bit system. > > The good news is: people ARE using this, since it was reported within a day. No worries. I'll prepare a release this weekend. Thanks, Gregor
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; }; _______________________________________________