From 363f4774f1cd0f1d52ad2b8d81526fd313fef742 Mon Sep 17 00:00:00 2001 From: nillerusr Date: Sun, 5 Jun 2022 02:21:39 +0300 Subject: [PATCH] togl: replace long with int --- togl/linuxwin/glmgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/togl/linuxwin/glmgr.cpp b/togl/linuxwin/glmgr.cpp index b97e6cf2..a573210c 100644 --- a/togl/linuxwin/glmgr.cpp +++ b/togl/linuxwin/glmgr.cpp @@ -4654,14 +4654,14 @@ void GLMContext::GenDebugFontTex( void ) //----------------------------------------------------- // fetch elements of font data and make texels... we're doing the whole slab so we don't really need the stride info - unsigned long *destTexelPtr = (unsigned long *)lockAddress; + uint32 *destTexelPtr = (uint32 *)lockAddress; for( int index = 0; index < 16384; index++ ) { if (g_glmDebugFontMap[index] == ' ') { // clear - *destTexelPtr = 0x00000000; + *destTexelPtr = 0; } else {