Skip to content

Commit

Permalink
Update miniz to 3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Alpha committed May 11, 2024
1 parent b551df4 commit a147af3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Source/UnrealLibretroEditor/miniz/miniz.c
Original file line number Diff line number Diff line change
Expand Up @@ -3068,7 +3068,7 @@ static WCHAR* mz_utf8z_to_widechar(const char* str)
{
int reqChars = MultiByteToWideChar(CP_UTF8, 0, str, -1, NULL, 0);
WCHAR* wStr = (WCHAR*)malloc(reqChars * sizeof(WCHAR));
MultiByteToWideChar(CP_UTF8, 0, str, -1, wStr, sizeof(WCHAR) * reqChars);
MultiByteToWideChar(CP_UTF8, 0, str, -1, wStr, reqChars);
return wStr;
}

Expand Down
6 changes: 3 additions & 3 deletions Source/UnrealLibretroEditor/miniz/miniz.h
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@ enum
MZ_DEFAULT_COMPRESSION = -1
};

#define MZ_VERSION "11.0.1"
#define MZ_VERNUM 0xB001
#define MZ_VERSION "11.0.2"
#define MZ_VERNUM 0xB002
#define MZ_VER_MAJOR 11
#define MZ_VER_MINOR 1
#define MZ_VER_MINOR 2
#define MZ_VER_REVISION 0
#define MZ_VER_SUBREVISION 0

Expand Down

0 comments on commit a147af3

Please sign in to comment.