diff --git a/rpkg-gui/MainWindow.xaml.cs b/rpkg-gui/MainWindow.xaml.cs index 19dec5b..2585134 100644 --- a/rpkg-gui/MainWindow.xaml.cs +++ b/rpkg-gui/MainWindow.xaml.cs @@ -5043,7 +5043,7 @@ public static extern UInt32 generate_localization_line_string(string rpkg_file_n public static extern int load_hash_list(string path); [DllImport("rpkg-lib.dll", EntryPoint = "load_hmla_hash_list", CallingConvention = CallingConvention.Cdecl)] - public static extern int load_hmla_hash_list(string path); + public static extern uint load_hmla_hash_list(string path); [DllImport("rpkg-lib.dll", EntryPoint = "get_hash_list_string", CallingConvention = CallingConvention.Cdecl)] public static extern IntPtr get_hash_list_string(string hash_string); diff --git a/src/lib/rpkg_dll.cpp b/src/lib/rpkg_dll.cpp index 51a03a7..b49368d 100644 --- a/src/lib/rpkg_dll.cpp +++ b/src/lib/rpkg_dll.cpp @@ -32,7 +32,7 @@ int load_hash_list(char* path) { return hash_list_version; } -int load_hmla_hash_list(char* path) { +uint32_t load_hmla_hash_list(char* path) { return util::load_hmla_hash_list(std::string(path)); } diff --git a/src/lib/rpkg_dll.h b/src/lib/rpkg_dll.h index eb03c56..56f85e7 100644 --- a/src/lib/rpkg_dll.h +++ b/src/lib/rpkg_dll.h @@ -6,7 +6,7 @@ RPKG_EXPORT int load_hash_list(char* path); -RPKG_EXPORT int load_hmla_hash_list(char* path); +RPKG_EXPORT uint32_t load_hmla_hash_list(char* path); RPKG_EXPORT char* get_hash_list_string(char* hash_string);