gianfar: fix signedness issue
[linux-2.6.git] / security / apparmor / domain.c
index 08bbe6397a7f5c6ad11eb2600f3f0a28a18cb5eb..c825c6e0b636ee985283d3d4a077deaa24343808 100644 (file)
@@ -62,7 +62,7 @@ static int may_change_ptraced_domain(struct task_struct *task,
                                     struct aa_profile *to_profile)
 {
        struct task_struct *tracer;
-       struct cred *cred = NULL;
+       const struct cred *cred = NULL;
        struct aa_profile *tracerp = NULL;
        int error = 0;