xsm/flask: Use unsigned int instead of plain unsigned
authorMichal Orzel <michal.orzel@arm.com>
Tue, 28 Jun 2022 15:25:50 +0000 (17:25 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 28 Jun 2022 15:25:50 +0000 (17:25 +0200)
This is just for the style and consistency reasons as the former is
being used more often than the latter.

Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/xsm/flask/ss/avtab.c

index 017f5183de6af6841f100369956ff5e854e1660a..9761d028d82d160848204c1c203b33385c23c8fe 100644 (file)
@@ -349,7 +349,7 @@ int avtab_read_item(struct avtab *a, void *fp, struct policydb *pol,
     struct avtab_key key;
     struct avtab_datum datum;
     int i, rc;
-    unsigned set;
+    unsigned int set;
 
     memset(&key, 0, sizeof(struct avtab_key));
     memset(&datum, 0, sizeof(struct avtab_datum));