From 1186533652dd56337db84999405ab8af2c055ea6 Mon Sep 17 00:00:00 2001 From: Amos Date: Thu, 30 Jun 2022 11:30:11 +0200 Subject: [PATCH] Use Squirrel type alias --- r5dev/squirrel/sqapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/squirrel/sqapi.cpp b/r5dev/squirrel/sqapi.cpp index c4a3bb52..3b19ab71 100644 --- a/r5dev/squirrel/sqapi.cpp +++ b/r5dev/squirrel/sqapi.cpp @@ -11,7 +11,7 @@ //--------------------------------------------------------------------------------- SQChar* sq_getstring(HSQUIRRELVM v, SQInteger i) { - return *reinterpret_cast(*reinterpret_cast(&v->_stackbase) + 0x10i64 * i + 0x8) + 0x40; + return *reinterpret_cast(*reinterpret_cast(&v->_stackbase) + 0x10i64 * i + 0x8) + 0x40; } //---------------------------------------------------------------------------------