Update mono/eglib/gmodule-win32.c
authorJay Krell <jay.krell@cornell.edu>
Tue, 3 Sep 2019 22:41:54 +0000 (15:41 -0700)
committerLarry Ewing <lewing@microsoft.com>
Wed, 4 Sep 2019 17:31:13 +0000 (12:31 -0500)
Co-Authored-By: Larry Ewing <lewing@microsoft.com>
Commit migrated from https://github.com/mono/mono/commit/b8313d586aa875bd4c0916b8e52ca960d02a5739

src/mono/mono/eglib/gmodule-win32.c

index 02d82d9..9559d9f 100644 (file)
@@ -204,7 +204,7 @@ g_module_build_path (const gchar *directory, const gchar *module_name)
 gboolean
 mono_get_module_filename (gpointer mod, gunichar2** pstr, guint32* plength)
 {
-       gunichar2str = NULL;
+       gunichar2 *str = NULL;
        guint32 capacity = MAX_PATH; // tunable
        guint32 length = 0;
        gboolean success = FALSE;