Integrate fix-secformat patch from vkdoom-git AUR package
This commit is contained in:
parent
4350b72260
commit
02f2175d17
8 changed files with 129 additions and 78 deletions
|
|
@ -1,9 +1,10 @@
|
|||
#include "ArrayStateNode.h"
|
||||
#include "common/scripting/dap/GameInterfaces.h"
|
||||
#include "common/scripting/dap/RuntimeState.h"
|
||||
#include "common/scripting/dap/Utilities.h"
|
||||
|
||||
#include "dobject.h"
|
||||
#include "vm.h"
|
||||
#include <common/scripting/dap/Utilities.h>
|
||||
#include <common/scripting/dap/RuntimeState.h>
|
||||
|
||||
namespace DebugServer
|
||||
{
|
||||
|
|
@ -96,7 +97,7 @@ bool ArrayStateNode::SerializeToProtocol(dap::Variable &variable)
|
|||
}
|
||||
else
|
||||
{
|
||||
variable.value = StringFormat("%s[%d]", elementTypeName.c_str(), variable.indexedVariables.value(0));
|
||||
variable.value = StringFormat("%s[%ld]", elementTypeName.c_str(), static_cast<int64_t>(variable.indexedVariables.value(0)));
|
||||
if (m_type->toPointer())
|
||||
{
|
||||
variable.value += StringFormat(" (%p)", m_value.a);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue