diff options
author | Jens Georg <mail@jensge.org> | 2014-05-10 18:30:24 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2014-05-10 18:31:46 +0200 |
commit | 82052b17607c20bc99ba32997eb4590c5f92b065 (patch) | |
tree | 4c6cca903c4dd4aa4af709c57ae649532eaf1a29 | |
parent | 05889bb3b5da0436d0f3d83793a87a195350de2c (diff) | |
download | gupnp-82052b17607c20bc99ba32997eb4590c5f92b065.tar.gz |
Fix warning with clang
-rw-r--r-- | libgupnp/gupnp-context-manager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgupnp/gupnp-context-manager.c b/libgupnp/gupnp-context-manager.c index e3cd54c..e766e93 100644 --- a/libgupnp/gupnp-context-manager.c +++ b/libgupnp/gupnp-context-manager.c @@ -582,9 +582,9 @@ gupnp_context_manager_create (guint port) #endif } #endif /* G_OS_WIN32 */ - impl = g_object_new (impl_type, - "port", port, - NULL); + impl = GUPNP_CONTEXT_MANAGER (g_object_new (impl_type, + "port", port, + NULL)); #if defined(USE_NETWORK_MANAGER) || defined(USE_CONNMAN) g_object_unref (system_bus); |