e_dbus/connman: fix set_property with boolean
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 13 Feb 2010 12:21:31 +0000 (12:21 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 13 Feb 2010 12:21:31 +0000 (12:21 +0000)
By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46132 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/e_dbus_connman_test.c

index 4ef7b49..6034eef 100644 (file)
@@ -209,7 +209,7 @@ _on_cmd_property_set(char *cmd, char *args)
      {
       case DBUS_TYPE_BOOLEAN:
         vlong = !!atol(next_args);
-        value = (void *)vlong;
+        value = &vlong;
         fprintf(stderr, "DBG: boolean is: %ld\n", vlong);
         break;
       case DBUS_TYPE_UINT16: