summaryrefslogtreecommitdiff
path: root/tools/editor/editor_initialize_ssl.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-11 00:52:51 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-11 00:52:51 -0300
commitbc26f905817945300d397696330d1ab04a1af33c (patch)
treed06338399c8ea410042f6631fb3db3efcc100b05 /tools/editor/editor_initialize_ssl.cpp
parent710692278d1353aad08bc7bceb655afc1d6c950c (diff)
Type renames:
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
Diffstat (limited to 'tools/editor/editor_initialize_ssl.cpp')
-rw-r--r--tools/editor/editor_initialize_ssl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/editor_initialize_ssl.cpp b/tools/editor/editor_initialize_ssl.cpp
index b7f8e2aad5..9ac4f90e9f 100644
--- a/tools/editor/editor_initialize_ssl.cpp
+++ b/tools/editor/editor_initialize_ssl.cpp
@@ -34,10 +34,10 @@
void editor_initialize_certificates() {
- ByteArray data;
+ PoolByteArray data;
data.resize(_certs_uncompressed_size+1);
{
- ByteArray::Write w = data.write();
+ PoolByteArray::Write w = data.write();
Compression::decompress(w.ptr(),_certs_uncompressed_size,_certs_compressed,_certs_compressed_size,Compression::MODE_DEFLATE);
w[_certs_uncompressed_size]=0; //make sure it ends at zero
}