diff options
Diffstat (limited to 'gcc/java/jcf-io.c')
-rw-r--r-- | gcc/java/jcf-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/jcf-io.c b/gcc/java/jcf-io.c index 10de9d2ef0f..3a5018ac728 100644 --- a/gcc/java/jcf-io.c +++ b/gcc/java/jcf-io.c @@ -293,7 +293,7 @@ static int compare_path (const void *key, const void *entry) { return strcmp ((const char *) key, - (*((const struct dirent **) entry))->d_name); + (*((const struct dirent *const*) entry))->d_name); } /* Returns nonzero if ENTRY names a .java or .class file. */ |