# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/cuneiform/hotfix-ptr.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- cuneiform-linux-1.1.0/cuneiform_src/Kern/hdebug/__snp.c.vanilla 2026-04-28 01:15:21.887668089 +0300 +++ cuneiform-linux-1.1.0/cuneiform_src/Kern/hdebug/__snp.c 2026-04-28 01:21:55.234395045 +0300 @@ -986,11 +986,11 @@ void SnpDrawLine(Point16* start, Point16* end, int32_t skew, uint32_t rgb_color, int16_t pen_width, Handle key ) { - LDPUMA_DrawLine(NULL,start,end,skew,rgb_color,pen_width,key ); + LDPUMA_DrawLine(NULL,start,end,skew,rgb_color,pen_width,*(uint32_t*)key ); }; void SnpHideLines(Handle key) { - LDPUMA_DeleteLines(NULL,key); + LDPUMA_DeleteLines(NULL,*(uint32_t*)key); }; void SnpUpdateViews(void) {