Increased the maximum format size on Windows
The long long printing formats (such as %lld or %llx) have to be translated to %I64 on older Windows systems, and the buffers to receive the translated format must be able to hold the tool banners which can be quite lengthy.edge.strict_endians
parent
6aa24b3df3
commit
b35a204d01
|
@ -105,7 +105,7 @@ int mft_next_record(struct mft_search_ctx *ctx);
|
|||
/*
|
||||
* Macroes to hide the needs to translate formats on older Windows
|
||||
*/
|
||||
#define MAX_FMT 256
|
||||
#define MAX_FMT 1536
|
||||
char *ntfs_utils_reformat(char *out, int sz, const char *fmt);
|
||||
#define ntfs_log_redirect(fn,fi,li,le,d,fmt, args...) \
|
||||
do { char buf[MAX_FMT]; ntfs_log_redirect(fn,fi,li,le,d, \
|
||||
|
|
Loading…
Reference in New Issue