From 248b0621103bd2fddd4fb51becb6e0868b8e0f2c Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Tue, 24 May 2016 05:45:01 +0300 Subject: [PATCH] Fix mdoule builds on x64 to conform to the changes in the plugin sdk. --- shared/SqMod.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/SqMod.inl b/shared/SqMod.inl index bc858f5c..990558fb 100644 --- a/shared/SqMod.inl +++ b/shared/SqMod.inl @@ -192,7 +192,7 @@ HSQEXPORTS sq_api_import(PluginFuncs * vcapi) { return NULL; } - unsigned int struct_size; + size_t struct_size; // Attempt to find the main plugin ID int plugin_id = vcapi->FindPlugin((char *)(SQMOD_HOST_NAME)); // Attempt to retrieve the plugin exports