summaryrefslogtreecommitdiff
path: root/xdelta3
diff options
context:
space:
mode:
authorjosh.macdonald <jmacd@users.noreply.github.com>2007-09-29 16:32:29 +0000
committerjosh.macdonald <jmacd@users.noreply.github.com>2007-09-29 16:32:29 +0000
commit714c6dfe476280021013fa0f51875ea935b1d388 (patch)
treed35a2963ea1239afbd0bce66ddfd31ed181ca67e /xdelta3
parentc5ea64c0c216b1882b2a7b5c409b4c6ec0279abc (diff)
Build fix for MSVC++
Diffstat (limited to 'xdelta3')
-rw-r--r--xdelta3/xdelta3-main.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/xdelta3/xdelta3-main.h b/xdelta3/xdelta3-main.h
index c56bead..6dc6f4b 100644
--- a/xdelta3/xdelta3-main.h
+++ b/xdelta3/xdelta3-main.h
@@ -2465,7 +2465,8 @@ main_input (xd3_cmd cmd,
2465 xoff_t last_total_out = 0; 2465 xoff_t last_total_out = 0;
2466 long start_time; 2466 long start_time;
2467 int stdout_only = 0; 2467 int stdout_only = 0;
2468 2468 int recode_flags;
2469 xd3_config recode_config;
2469 int (*input_func) (xd3_stream*); 2470 int (*input_func) (xd3_stream*);
2470 int (*output_func) (xd3_stream*, main_file *); 2471 int (*output_func) (xd3_stream*, main_file *);
2471 2472
@@ -2533,14 +2534,13 @@ main_input (xd3_cmd cmd,
2533 XD3_ASSERT (recode_stream == NULL); 2534 XD3_ASSERT (recode_stream == NULL);
2534 recode_stream = (xd3_stream*) main_malloc(sizeof(xd3_stream)); 2535 recode_stream = (xd3_stream*) main_malloc(sizeof(xd3_stream));
2535 2536
2536 int recode_flags = (stream_flags & XD3_SEC_TYPE); 2537 recode_flags = (stream_flags & XD3_SEC_TYPE);
2537 // TODO: what about sec_xxxx.ngroups = 1?
2538
2539 xd3_config recode_config;
2540 xd3_init_config(&recode_config, recode_flags); 2538 xd3_init_config(&recode_config, recode_flags);
2541 2539
2542 recode_config.alloc = main_alloc; 2540 recode_config.alloc = main_alloc;
2543 recode_config.freef = main_free1; 2541 recode_config.freef = main_free1;
2542
2543 // TODO: what about sec_xxxx.ngroups = 1?
2544 recode_config.sec_data.ngroups = 1; 2544 recode_config.sec_data.ngroups = 1;
2545 recode_config.sec_addr.ngroups = 1; 2545 recode_config.sec_addr.ngroups = 1;
2546 recode_config.sec_inst.ngroups = 1; 2546 recode_config.sec_inst.ngroups = 1;