66c152c1f0
From: Jim Geovedi <jim@corebsd.or.id> with some assistance by yours truly.
17 lines
550 B
Plaintext
17 lines
550 B
Plaintext
$OpenBSD: patch-src_common_plugin_c,v 1.3 2005/04/12 20:29:26 naddy Exp $
|
|
--- src/common/plugin.c.orig Thu Feb 10 02:15:32 2005
|
|
+++ src/common/plugin.c Sun Apr 3 15:25:49 2005
|
|
@@ -135,9 +135,9 @@ gint plugin_load(const gchar *filename,
|
|
return ok;
|
|
}
|
|
|
|
- plugin->name = plugin_name;
|
|
- plugin->desc = plugin_desc;
|
|
- plugin->type = plugin_type;
|
|
+ (gint *)plugin->name = plugin_name;
|
|
+ (gint *)plugin->desc = plugin_desc;
|
|
+ (gint *)plugin->type = plugin_type;
|
|
plugin->filename = g_strdup(filename);
|
|
|
|
plugins = g_slist_append(plugins, plugin);
|