From 570b0eae4057dcbad5cf85e1c9a20d30833cc532 Mon Sep 17 00:00:00 2001 From: randomdude999 Date: Sun, 21 Jan 2024 07:15:37 +0200 Subject: [PATCH] use CreateDirectoryA in test.cpp (weren't we supposed to use unicode functions in this file??? idk whatever, i'm just copying delete_file() here) --- src/asar-tests/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asar-tests/test.cpp b/src/asar-tests/test.cpp index 92980d10..0b19eec5 100644 --- a/src/asar-tests/test.cpp +++ b/src/asar-tests/test.cpp @@ -413,7 +413,7 @@ static void delete_file(const char * filename) static void create_directory(const char * dirname) { #ifdef _WIN32 - CreateDirectory(dirname, NULL); + CreateDirectoryA(dirname, NULL); #else mkdir(dirname, 0777); #endif