diff --git a/tsk3/fs/ntfs_dent.cpp b/tsk3/fs/ntfs_dent.cpp
index c4d7ec8d66003b66b9426efe73810cc668ab4418..c6562c21be4dcf8d52c6d5cac3053f9c22eb7e5d 100644
--- a/tsk3/fs/ntfs_dent.cpp
+++ b/tsk3/fs/ntfs_dent.cpp
@@ -1158,7 +1158,7 @@ ntfs_find_file_rec(TSK_FS_INFO * fs, NTFS_DINFO * dinfo,
      */
     if ((fs_file_par->meta->type != TSK_FS_META_TYPE_DIR)
         || (fs_file_par->meta->seq != fs_name_list->par_seq)) {
-        char *str = TSK_FS_ORPHAN_STR;
+        const char *str = TSK_FS_ORPHAN_STR;
         len = strlen(str);
 
         /* @@@ There should be a sanity check here to verify that the