summaryrefslogtreecommitdiff
path: root/src/python/seccomp.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/seccomp.pyx')
-rw-r--r--src/python/seccomp.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/seccomp.pyx b/src/python/seccomp.pyx
index d2f7c90..686f7d2 100644
--- a/src/python/seccomp.pyx
+++ b/src/python/seccomp.pyx
@@ -409,7 +409,7 @@ cdef class SyscallFilter:
Lookup the given attribute in the filter and return the
attribute's value to the caller.
"""
- value = 0
+ cdef uint32_t value = 0
rc = libseccomp.seccomp_attr_get(self._ctx,
attr, <uint32_t *>&value)
if rc == -errno.EINVAL: