Commit 0aefd447 authored by David Mosberger's avatar David Mosberger

ia64: Avoid use of cast expressions as lvalues. They're ugly and may be

	dropped from GCC at some point in the future.
parent aebaa20d
...@@ -741,7 +741,7 @@ filldir32 (void *__buf, const char *name, int namlen, loff_t offset, ino_t ino, ...@@ -741,7 +741,7 @@ filldir32 (void *__buf, const char *name, int namlen, loff_t offset, ino_t ino,
|| copy_to_user(dirent->d_name, name, namlen) || copy_to_user(dirent->d_name, name, namlen)
|| put_user(0, dirent->d_name + namlen)) || put_user(0, dirent->d_name + namlen))
return -EFAULT; return -EFAULT;
((char *) dirent) += reclen; dirent = (struct compat_dirent *) ((char *) dirent + reclen);
buf->current_dir = dirent; buf->current_dir = dirent;
buf->count -= reclen; buf->count -= reclen;
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment