aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c
index 05afe33ea644..f0b5b5f3dd2e 100644
--- a/fs/cifs/dir.c
+++ b/fs/cifs/dir.c
@@ -608,7 +608,7 @@ static int cifs_ci_compare(struct dentry *dentry, struct qstr *a,
608 * case take precedence. If a is not a negative dentry, this 608 * case take precedence. If a is not a negative dentry, this
609 * should have no side effects 609 * should have no side effects
610 */ 610 */
611 memcpy(a->name, b->name, a->len); 611 memcpy((void *)a->name, b->name, a->len);
612 return 0; 612 return 0;
613 } 613 }
614 return 1; 614 return 1;