diff --git a/Contrib/System/Source/System.c b/Contrib/System/Source/System.c index dce1a097..a9a32f48 100644 --- a/Contrib/System/Source/System.c +++ b/Contrib/System/Source/System.c @@ -1047,7 +1047,7 @@ void ParamsIn(SystemProc *proc) { LPTSTR straddr = system_getuservariableptr(par->Input - 1); par->Value = (INT_PTR) straddr; - par->Value += sizeof(void*) > 4 ? sizeof(_T("-9223372036854775807")) : sizeof(_T("-2147483647")); + par->Value += sizeof(void*) > 4 ? sizeof(_T("-9223372036854775807###")) : sizeof(_T("-2147483647")); // "###" for sizeof(void*) alignment IntPtrToStr(par->Value, straddr); } break; diff --git a/Contrib/System/System.html b/Contrib/System/System.html index a10845b2..2ff407b8 100644 --- a/Contrib/System/System.html +++ b/Contrib/System/System.html @@ -290,7 +290,7 @@ DetailPrint $4 callback @ -Direct register memory access (Buffer is limited to (NSIS_MAX_STRLEN - 21) * NSIS_CHAR_SIZE bytes) +Direct register memory access (Buffer is limited to (NSIS_MAX_STRLEN - 24) * NSIS_CHAR_SIZE bytes)