dialog: fixed return type for kemi exports for var rm and is-null
authorDaniel-Constantin Mierla <miconda@gmail.com>
Thu, 13 Jun 2019 08:28:37 +0000 (10:28 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Thu, 13 Jun 2019 08:28:37 +0000 (10:28 +0200)
src/modules/dialog/dialog.c

index 34d243a..b8b6843 100644 (file)
@@ -2085,12 +2085,12 @@ static sr_kemi_t sr_kemi_dialog_exports[] = {
                        SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
        },
        { str_init("dialog"), str_init("var_rm"),
-               SR_KEMIP_XVAL, ki_dlg_var_rm,
+               SR_KEMIP_INT, ki_dlg_var_rm,
                { SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
                        SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
        },
        { str_init("dialog"), str_init("var_is_null"),
-               SR_KEMIP_XVAL, ki_dlg_var_is_null,
+               SR_KEMIP_INT, ki_dlg_var_is_null,
                { SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
                        SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
        },