summaryrefslogtreecommitdiff
path: root/xlat.h
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2016-04-28 11:26:59 -0400
committerDmitry V. Levin <ldv@altlinux.org>2016-04-29 01:12:14 +0000
commit9019cf4cf5ae6d1898c155799615cbb9663a680c (patch)
treedf01bc976ba366acd88389b93ba4e6f820efe89a /xlat.h
parent9ae46690bd49431dcec13b2fe3ecd5331a8ad220 (diff)
downloadstrace-9019cf4cf5ae6d1898c155799615cbb9663a680c.tar.gz
Change type of struct xlat.val to uint64_t
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.
Diffstat (limited to 'xlat.h')
-rw-r--r--xlat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xlat.h b/xlat.h
index 9e68a17a8..64141b3ea 100644
--- 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;
};