From e05d31d44493fafbe4eb9d742786880bf6d203c4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Tue, 5 May 2020 00:53:36 +0200 Subject: [PATCH] :art: nonnull for slice --- src/lib/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/string.c b/src/lib/string.c index a6cc6062..2de81dac 100644 --- a/src/lib/string.c +++ b/src/lib/string.c @@ -102,7 +102,7 @@ GWION_IMPORT(string) { GWI_BB(gwi_oper_end(gwi, "==", String_eq)) GWI_BB(gwi_oper_end(gwi, "!=", String_neq)) - GWI_BB(gwi_oper_ini(gwi, "string", "int", "string")) + GWI_BB(gwi_oper_ini(gwi, "nonnull string", "int", "string")) GWI_BB(gwi_oper_end(gwi, "@slice", StringSlice)) struct SpecialId_ spid = { .ck=check_funcpp, .exec=RegPushMe, .is_const=1 }; -- 2.43.0