IMA: use unsigned int instead of long for counters
[pandora-kernel.git] / security / integrity / ima / ima.h
index 3d70108..000d13a 100644 (file)
@@ -106,8 +106,8 @@ struct ima_iint_cache {
        unsigned long flags;
        u8 digest[IMA_DIGEST_SIZE];
        struct mutex mutex;     /* protects: version, flags, digest */
-       long readcount;         /* measured files readcount */
-       long writecount;        /* measured files writecount */
+       unsigned int readcount; /* measured files readcount */
+       unsigned int writecount;/* measured files writecount */
        struct kref refcount;   /* ima_iint_cache reference count */
 };