filedes_t => int
[wimlib] / src / join.c
index 1de8b76bb1b24e666f608fa912852f6ffd625e9e..b6bf6ebd78d22d598d3e6e536cab2dbe706f7386 100644 (file)
@@ -127,7 +127,7 @@ join_wims(WIMStruct **swms, unsigned num_swms,
                ret = for_lookup_table_entry_pos_sorted(swms[i]->lookup_table,
                                                        copy_resource,
                                                        swms[i]);
-               swms[i]->out_fd = INVALID_FILEDES;
+               swms[i]->out_fd = -1;
                if (i != 0)
                        close_wim(swms[i]);