[sleuthkit-developers] [ sleuthkit-Bugs-2596153 ] tsk_img_open arguments
Brought to you by:
carrier
From: SourceForge.net <no...@so...> - 2009-02-13 14:47:08
|
Bugs item #2596153, was opened at 2009-02-13 09:47 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=477889&aid=2596153&group_id=55685 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: File System Tools Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Brian Carrier (carrier) Assigned to: Nobody/Anonymous (nobody) Summary: tsk_img_open arguments Initial Comment: >From Simson Garfinkel: tsk_img_open_utf8 is prototyped: extern TSK_IMG_INFO *tsk_img_open_utf8(int num_img, const char **images, TSK_IMG_TYPE_ENUM type); where images is, I guess, argv. The problem is that getopt() prototypes argv this way: getopt(int argc, char * const argv[], const char *optstring); Passing argv to tsk_img_open_utf8 produces this error: error: invalid conversion from ‘char* const*’ to ‘const char**’ I can fix this with a cast, but perhaps tsk_img_open_utf8 should be changed to match. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=477889&aid=2596153&group_id=55685 |