]> granicus.if.org Git - strace/commitdiff
Change type of struct xlat.val to uint64_t
authorJeff Mahoney <jeffm@suse.com>
Thu, 28 Apr 2016 15:26:59 +0000 (11:26 -0400)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 29 Apr 2016 01:12:14 +0000 (01:12 +0000)
Some ioctls have flags fields that are 64-bit.  A 32-bit val means
these flags will never be matched or printed.

* xlat.h: Include <stdint.h>.
(struct xlat): Change type of val to uint64_t.

xlat.h

diff --git a/xlat.h b/xlat.h
index 9e68a17a83df2663b5c30e2251b756afc10f737b..64141b3ea0877aa87fd0093a5fda41adaacd1697 100644 (file)
--- a/xlat.h
+++ b/xlat.h
@@ -1,7 +1,9 @@
 #ifndef STRACE_XLAT_H
 
+# include <stdint.h>
+
 struct xlat {
-       unsigned int val;
+       uint64_t val;
        const char *str;
 };