From 6debabe57eaff1bf59d04b84eb56ffdef2a2957f Mon Sep 17 00:00:00 2001 From: Thomas Edvalson Date: Thu, 6 Oct 2016 16:36:05 -0400 Subject: Use int instead of int32_t for Vectors --- core/variant_parser.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/variant_parser.cpp') diff --git a/core/variant_parser.cpp b/core/variant_parser.cpp index 6b3828a572..5ed2415e36 100644 --- a/core/variant_parser.cpp +++ b/core/variant_parser.cpp @@ -1177,16 +1177,16 @@ Error VariantParser::parse_value(Token& token,Variant &value,Stream *p_stream,in } else if (id=="IntArray") { - Vector args; - Error err = _parse_construct(p_stream,args,line,r_err_str); + Vector args; + Error err = _parse_construct(p_stream,args,line,r_err_str); if (err) return err; - DVector arr; + DVector arr; { int len=args.size(); arr.resize(len); - DVector::Write w = arr.write(); + DVector::Write w = arr.write(); for(int i=0;i