From 21ca64ba78d7f1a8514893c6d40fd8aee9325b81 Mon Sep 17 00:00:00 2001 From: Brian Carrier <carrier@sleuthkit.org> Date: Fri, 14 Jun 2013 10:48:13 -0400 Subject: [PATCH] Fixed compiler warning and added comment about updating java code with enum changes --- tsk/auto/tsk_case_db.h | 2 +- tsk/fs/tsk_fs.h | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tsk/auto/tsk_case_db.h b/tsk/auto/tsk_case_db.h index c71eed1e6..c25f90f28 100644 --- a/tsk/auto/tsk_case_db.h +++ b/tsk/auto/tsk_case_db.h @@ -124,7 +124,7 @@ class TskAutoDb:public TskAuto { //internal structure to keep track of temp. unalloc block range typedef struct _UNALLOC_BLOCK_WLK_TRACK { _UNALLOC_BLOCK_WLK_TRACK(const TskAutoDb & tskAutoDb, const TSK_FS_INFO & fsInfo, const int64_t fsObjId, int64_t chunkSize) - : tskAutoDb(tskAutoDb),fsInfo(fsInfo),fsObjId(fsObjId),curRangeStart(0),prevBlock(0),isStart(true), chunkSize(chunkSize) {} + : tskAutoDb(tskAutoDb),fsInfo(fsInfo),fsObjId(fsObjId),curRangeStart(0), chunkSize(chunkSize), prevBlock(0), isStart(true) {} const TskAutoDb & tskAutoDb; const TSK_FS_INFO & fsInfo; const int64_t fsObjId; diff --git a/tsk/fs/tsk_fs.h b/tsk/fs/tsk_fs.h index 87b256e7e..bd37e56d9 100644 --- a/tsk/fs/tsk_fs.h +++ b/tsk/fs/tsk_fs.h @@ -214,7 +214,9 @@ extern "C" { /** * These are based on the NTFS type values. - * Added types for HFS+. + * Added types for HFS+. + * NOTE: Update bindings/java/src/org/sleuthkit/datamodel/TskData.java + * with any changes. */ typedef enum { TSK_FS_ATTR_TYPE_NOT_FOUND = 0x00, // 0 @@ -767,6 +769,8 @@ extern "C" { TSK_FS_TYPE_YAFFS2_DETECT = 0x00003000, ///< YAFFS2 auto detection TSK_FS_TYPE_UNSUPP = 0xffffffff, ///< Unsupported file system }; + /* NOTE: Update bindings/java/src/org/sleuthkit/datamodel/TskData.java + * with any changes. */ typedef enum TSK_FS_TYPE_ENUM TSK_FS_TYPE_ENUM; /** -- GitLab