diff options
Diffstat (limited to 'sys-fs/clamfs/files/clamfs-1.0.0-invalid_conversion.patch')
-rw-r--r-- | sys-fs/clamfs/files/clamfs-1.0.0-invalid_conversion.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-fs/clamfs/files/clamfs-1.0.0-invalid_conversion.patch b/sys-fs/clamfs/files/clamfs-1.0.0-invalid_conversion.patch new file mode 100644 index 000000000..8bf2afe79 --- /dev/null +++ b/sys-fs/clamfs/files/clamfs-1.0.0-invalid_conversion.patch @@ -0,0 +1,11 @@ +--- trunk/src/clamfs.cxx 2009/02/07 14:10:50 84 ++++ trunk/src/clamfs.cxx 2009/11/15 13:51:09 85 +@@ -526,7 +526,7 @@ + * Check extension ACL + */ + if (extensions != NULL) { +- char *ext = rindex(path, '.'); /* find last dot */ ++ const char *ext = rindex(path, '.'); /* find last dot */ + if (ext != NULL) { + ++ext; /* omit dot */ + extum_t::const_iterator extumConstIter; |