From 8f6016e0fdba88582d47a1528c3cef7dd797c476 Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Tue, 17 Oct 2023 14:32:59 +0200 Subject: [PATCH] netsurf: cs fix --- src/netsurf.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/netsurf.zig b/src/netsurf.zig index 3f179549..185d4cba 100644 --- a/src/netsurf.zig +++ b/src/netsurf.zig @@ -670,9 +670,9 @@ pub inline fn documentCreateElement(doc: *Document, tag_name: []const u8) *Eleme } pub inline fn documentBody(doc: *Document) ?*Body { - const dochtml = @as(*DocumentHTML, @ptrCast(doc)); + const doc_html = @as(*DocumentHTML, @ptrCast(doc)); var body: ?*ElementHTML = undefined; - _ = documentHTMLVtable(dochtml).get_body.?(dochtml, &body); + _ = documentHTMLVtable(doc_html).get_body.?(doc_html, &body); if (body == null) { return null; }