From 2d12b0343545d2c01960af008804115d7e5c9637 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 1 Jun 2024 11:29:09 +0300 Subject: [PATCH] net.html: quick workaround for a cgen problem for `const x = int(0x80000000)` --- vlib/net/html/data_structures.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/net/html/data_structures.v b/vlib/net/html/data_structures.v index fb7a9657d084fa..788682dbe1735d 100644 --- a/vlib/net/html/data_structures.v +++ b/vlib/net/html/data_structures.v @@ -1,6 +1,6 @@ module html -const null_element = int(0x80000000) +const null_element = int(-1) struct Stack { mut: