Skip to content

Commit e930126

Browse files
committed
resolves build issue for Debian 12 sleuthkit#3239. Verified make completed without any errors. No other testing was done.
1 parent 90e5708 commit e930126

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tsk/img/aff.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@ aff_open(int a_num_img, const TSK_TCHAR * const images[], unsigned int a_ssize)
297297

298298
img_info = (TSK_IMG_INFO *) aff_info;
299299

300-
aff_info->img_info->read = aff_read;
301-
aff_info->img_info->close = aff_close;
302-
aff_info->img_info->imgstat = aff_imgstat;
300+
aff_info->img_info.read = aff_read;
301+
aff_info->img_info.close = aff_close;
302+
aff_info->img_info.imgstat = aff_imgstat;
303303

304304
// Save the image path in TSK_IMG_INFO - this is mostly for consistency
305305
// with the other image types and is not currently used

tsk/img/aff.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ extern "C" {
3838
* Stores AFF-specific data
3939
*/
4040
typedef struct {
41-
IMG_INFO img_info;
41+
struct IMG_INFO img_info;
4242
AFFILE *af_file;
4343

4444
tsk_lock_t read_lock;

0 commit comments

Comments
 (0)