mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
Fix aliasing warning from gcc-3.3
Original commit message from CVS: Fix aliasing warning from gcc-3.3
This commit is contained in:
parent
ac8e84fb8e
commit
d2e2686411
1 changed files with 5 additions and 1 deletions
|
@ -179,7 +179,11 @@ gst_plugin_load_plugin (GstPlugin *plugin, GError **error)
|
|||
module = g_module_open (filename, G_MODULE_BIND_LAZY);
|
||||
|
||||
if (module != NULL) {
|
||||
if (g_module_symbol (module, "plugin_desc", (gpointer *)&desc)) {
|
||||
gpointer ptr;
|
||||
|
||||
if (g_module_symbol (module, "plugin_desc", &ptr)) {
|
||||
desc = (GstPluginDesc *)ptr;
|
||||
|
||||
GST_DEBUG (GST_CAT_PLUGIN_LOADING, "plugin \"%s\" loaded, called entry function...", filename);
|
||||
|
||||
plugin->filename = g_strdup (filename);
|
||||
|
|
Loading…
Reference in a new issue