Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ ifneq (,$(findstring mingw32,$(CROSS)))
JSON_FORMATTER_BIN=tools/format/json_formatter.exe
endif

# Determine JSON formatter binary name
# Determine zzip compression tool name
ZZIP_BIN=zzip
ifeq ($(MSYS2), 1)
ZZIP_BIN=zzip.exe
Expand Down Expand Up @@ -1086,7 +1086,7 @@ endif

LDFLAGS += -lz

all: version prefix $(CHECKS) $(TARGET) $(L10N) $(TESTSTARGET)
all: version prefix $(CHECKS) $(TARGET) $(L10N) $(TESTSTARGET) $(ZZIP_BIN)
@

$(TARGET): $(OBJS)
Expand Down
2 changes: 1 addition & 1 deletion tools/save/zzip_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ static int decompress_to( std::filesystem::path const &zzip_path,
entry_map[filename] = std::move( *entry );
}

for( const std::pair<std::string, ZzipEntry> &entry : entry_map ) {
for( const std::pair<const std::string, ZzipEntry> &entry : entry_map ) {
const std::string &filename = entry.second.path;
const char *entry_base = entry.second.base;
size_t frame_size = entry.second.size;
Expand Down
Loading