Code

frontend: Fixed two typing issues.
[sysdb.git] / src / frontend / grammar.y
index 8b2a8bf27c066d5a3cc0d12a481d01f5847d4d64..e6c627b3a4b966e288c9aadbbcf02ddfea5e0eb6 100644 (file)
@@ -106,7 +106,8 @@ statement:
 list_statement:
        LIST
                {
-                       $$ = sdb_object_create_T(/* name = */ NULL, sdb_conn_node_t);
+                       $$ = SDB_CONN_NODE(sdb_object_create_T(/* name = */ NULL,
+                                               sdb_conn_node_t));
                        ((sdb_conn_node_t *)$$)->cmd = CONNECTION_LIST;
                }
        ;